Skip to content

Commit 1481cbf

Browse files
James LinJames Lin
authored andcommitted
corrected test case test_get_call_by_id
1 parent a5246f8 commit 1481cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_get_call_by_id(self):
5555
qs = RestFrameworkQuerySet('/api/')
5656
qs1 = qs.get(123)
5757
self.assertEqual(qs1, {'a': 123})
58-
mock_get.assert_any_call('/api/123', params={})
58+
mock_get.assert_any_call('/api/123/', params={})
5959

6060
def test_count_call(self):
6161
fake_response = MagicMock(json=lambda:{'count': 10, 'results': range(10)})

0 commit comments

Comments
 (0)