(self, path)
| 42 | # unittest.TestCase assert methods. |
| 43 | # pylint: disable=invalid-name |
| 44 | def assertFolderIsEmpty(self, path): |
| 45 | self.assertTrue(os.path.exists(path)) |
| 46 | self.assertTrue(os.path.isdir(path)) |
| 47 | self.assertEqual([], os.listdir(path)) |
| 48 | |
| 49 | def test_persists_new_file_in_destination_folder(self): |
| 50 | file_path = os.path.join(self.destination_dir.name, 'test.txt') |
no outgoing calls
no test coverage detected