Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,9 @@ def test_work_schedule(self):
end_date_obj = datetime.datetime(2012, 1, 7)

project = self.project
user = self.sg.find_one('HumanUser', [['projects', 'is', project]], ['name'])
# We're going to be comparing this value with the value returned from the server, so extract only the type
# and id
user = {"type": self.human_user["type"], "id": self.human_user["id"], "name": self.human_user["name"]}

work_schedule = self.sg.work_schedule_read(start_date, end_date, project, user)

Expand Down Expand Up @@ -842,7 +844,7 @@ def test_work_schedule(self):
resp = self.sg.work_schedule_read(start_date, end_date, project, user)
work_schedule['2012-01-04'] = {"reason": "USER_EXCEPTION", "working": False, "description": "Artist Holiday"}
# FIXME: There seems to be a regresion on the Shotgun server that needs to be fixed. Disabling the test
# self.assertEqual(work_schedule, resp)
self.assertEqual(work_schedule, resp)

# For now disable tests that are erroneously failling on some sites to
# allow CI to pass until the known issue causing this is resolved.
Expand Down