Skip to content

Commit

Permalink
adding empty line at end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
proccaserra committed Feb 23, 2024
1 parent 156c9de commit e8eebc7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_tests_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ def test_assert_tab_content_equal_investigation_except(self):
with self.assertRaises(OSError) as context:
with open(os.path.join(utils.TAB_DATA_DIR, 'BII-I-1', 'i_investigation.txt')) as i_tab1:
with open(os.path.join(utils.TAB_DATA_DIR, 'BII-S-3', 'i_gilbert.txt')) as i_tab2:
self.assertEqual(utils.assert_tab_content_equal(i_tab1, i_tab2), "Cannot save file into a non-existent directory: '/Users/philippe/Downloads/test-isa-for-release'")
self.assertEqual(utils.assert_tab_content_equal(i_tab1, i_tab2),
"Cannot save file into a non-existent directory: \
'/Users/philippe/Downloads/test-isa-for-release'")

def test_assert_tab_content_equal_assay_table(self):
with open(os.path.join(utils.TAB_DATA_DIR, 'BII-I-1', 's_BII-S-1.txt')) as s_tab1:
Expand All @@ -170,4 +172,4 @@ def test_assert_xml_equal(self):
self.assertTrue(utils.assert_xml_equal(etree.fromstring(self.x1), etree.fromstring(self.x2)))

def test_strip_id(self):
self.assertEqual(utils.strip_ids(self.j1), None)
self.assertEqual(utils.strip_ids(self.j1), None)

0 comments on commit e8eebc7

Please sign in to comment.