Skip to content

Commit

Permalink
fix: 760 testcase class
Browse files Browse the repository at this point in the history
  • Loading branch information
terryyz committed Apr 30, 2024
1 parent 1477d72 commit 7567e2d
Show file tree
Hide file tree
Showing 4 changed files with 654 additions and 654 deletions.
4 changes: 2 additions & 2 deletions data/clean/f_760_wenhao.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def replace_match(match):

import unittest
# Unit tests for the f_760 function
class ReplaceAcronymsTests(unittest.TestCase):
class TestCases(unittest.TestCase):
def test_acronyms_single_column(self):
data = {'text': ['NASA rocks', 'Visit the USA']}
mapping = {'NASA': 'National Aeronautics and Space Administration', 'USA': 'United States of America'}
Expand Down Expand Up @@ -75,7 +75,7 @@ def test_empty_dataframe(self):

def run_tests():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(ReplaceAcronymsTests))
suite.addTest(unittest.makeSuite(TestCases))
runner = unittest.TextTestRunner()
runner.run(suite)

Expand Down
Loading

0 comments on commit 7567e2d

Please sign in to comment.