Skip to content

Commit

Permalink
style fixes to make lint aka flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
coleslaw481 committed Mar 16, 2018
1 parent ed8c577 commit 13cc31e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/test_checkchmjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,6 @@ def test_check_chm_job_all_tasks_complete_with_submit(self):
finally:
shutil.rmtree(temp_dir)


if __name__ == '__main__':
unittest.main()
2 changes: 1 addition & 1 deletion tests/test_chmjobcreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def test_create_job_three_images_five_tiles_per_job(self):
7)

o_img_list = []
for x in range(1,8):
for x in range(1, 8):
o_img = config.get(str(x),
CHMJobCreator.CONFIG_OUTPUT_IMAGE)
o_img_list.append(o_img)
Expand Down
1 change: 1 addition & 0 deletions tests/test_clusterfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ def test_get_cluster_by_name(self):
c = cfac.get_cluster_by_name(CometCluster.CLUSTER)
self.assertEqual(c.get_cluster(), CometCluster.CLUSTER)


if __name__ == '__main__':
unittest.main()
1 change: 1 addition & 0 deletions tests/test_taskstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ def test_getter_and_setters(self):
self.assertEqual(ts.get_max_memory_in_kb(), 300)
self.assertEqual(ts.get_total_memory_in_kb(), 400)


if __name__ == '__main__':
unittest.main()
1 change: 1 addition & 0 deletions tests/test_tasksummaryfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,5 +493,6 @@ def test_get_task_summary(self):
'\nMerge tasks: 0% complete (0 of '
'1 completed)\n')


if __name__ == '__main__':
unittest.main()

0 comments on commit 13cc31e

Please sign in to comment.