Skip to content
Snippets Groups Projects
Commit a2604e85 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-382: Replace Python2 integer division (/) with Python3 one (//)

parent 77d90132
No related branches found
No related tags found
No related merge requests found
...@@ -480,7 +480,7 @@ class PrioritySchedulerTest(StationSchedulerTest): ...@@ -480,7 +480,7 @@ class PrioritySchedulerTest(StationSchedulerTest):
class FakeMoMQueryService(object): class FakeMoMQueryService(object):
def get_project_priorities_for_objects(self, mom_ids): def get_project_priorities_for_objects(self, mom_ids):
# priority increments by 1000 ids # priority increments by 1000 ids
return {mom_id: mom_id/1000 for mom_id in mom_ids} return {mom_id: mom_id // 1000 for mom_id in mom_ids}
self.fake_momrpc = FakeMoMQueryService() self.fake_momrpc = FakeMoMQueryService()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment