Skip to content

Commit

Permalink
fixup! Test ChangeScriptFinder._find_change_scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Jan 9, 2024
1 parent 566dd2b commit e95ec95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unittests/pgsync_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@


class TestChangeScriptFinder(TestCase):
def test_init_should_fill_list_of_sql_filenames(self):
def test_init_should_read_sql_filenames_from_package_and_return_list_of_relative_filenames(self):
csf = ChangeScriptFinder('nav.models')
print(csf)
self.assertTrue(len(csf) > 40)
for sql_filename in csf:
self.assertTrue(sql_filename.startswith('sql/'))
Expand Down

0 comments on commit e95ec95

Please sign in to comment.