Skip to content

Commit

Permalink
Merge pull request #5 from Tuoris/a400789118477316_tests_for_statuses
Browse files Browse the repository at this point in the history
a400789118477316 tests for statuses
  • Loading branch information
yarsanich committed Aug 10, 2017
2 parents 927c035 + 2a661e9 commit 1230df5
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 1 deletion.
6 changes: 6 additions & 0 deletions openregistry/lots/basic/tests/auth.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@ broker4 = broker4,4
broker1t = broker1t,1t
broker2t = broker2t,2t

[bot1]
bot1 = bot1

[bot2]
bot2 = bot2

[admins]
test = token
7 changes: 6 additions & 1 deletion openregistry/lots/basic/tests/lot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
get_lot,
lot_not_found,
dateModified_lot,
change_draft_lot,
change_waiting_lot,
change_dissolved_lot,
listing_draft,
listing_changes,
create_lot,
Expand All @@ -37,12 +40,14 @@ class LotResourceTest(BaseLotWebTest):
test_listing = snitch(listing)
test_get_lot = snitch(get_lot)
test_dateModified_lot = snitch(dateModified_lot)
test_change_draft_lot = snitch(change_draft_lot)
test_change_waiting_lot = snitch(change_waiting_lot)
test_change_dissolved_lot = snitch(change_dissolved_lot)
test_listing_draft = snitch(listing_draft)
test_listing_changes = snitch(listing_changes)
test_check_lot_assets = snitch(check_lot_assets)



def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(LotResourceTest))
Expand Down

0 comments on commit 1230df5

Please sign in to comment.