def test_get_affected_files(self): client = GitClient(self.local_path) affected = client.get_affected_files(client.get_log()[0]['id']) self.assertEqual(sorted(['local_file']), sorted(affected)) self.assertEquals(['local_file'], affected)