File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,9 @@ def test_relevance_of_response(self):
278
278
)
279
279
# check if number of commits >= 50, from the time the tests were initiated
280
280
self .assertTrue (int (response .json ()['details' ]['commits' ]) >= 50 )
281
+
282
+ # modified date should be after created date
283
+ self .assertTrue (response .json ()['details' ]['created_time' ] <= response .json ()['details' ]['modified_time' ])
281
284
# check if number of contributors is same as contributors added
282
285
self .assertEqual (response .json ()['details' ]['no_of_contributors' ], Contribution .objects .filter (component = Component .objects .get (name = 'biojs-vis-rohart-msc-test' )).count ())
283
286
self .assertEqual (response .json ()['details' ]['no_of_contributors' ], len (response .json ()['contributors' ]))
You can’t perform that action at this time.
0 commit comments