Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0530c5a

Browse files
committed
fix broken test
1 parent 2e050e9 commit 0530c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stream/tests/test_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ def test_uniqueness_foreign_id(self):
866866
"verb": "tweet",
867867
"object": 1,
868868
"foreign_id": "tweet:11",
869-
"time": now,
869+
"time": utcnow,
870870
}
871871
self.user1.add_activity(activity_data)
872872

@@ -875,7 +875,7 @@ def test_uniqueness_foreign_id(self):
875875
"verb": "tweet",
876876
"object": 3,
877877
"foreign_id": "tweet:11",
878-
"time": now,
878+
"time": utcnow,
879879
}
880880
self.user1.add_activity(activity_data)
881881

0 commit comments

Comments
 (0)