Skip to content

Commit

Permalink
Block CPV Classification
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed May 31, 2017
1 parent 09549e5 commit 52614f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openprocurement/tender/openua/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"description": u"футляри до державних нагород",
"description_en": u"Cases for state awards",
"classification": {
"scheme": u"CPV",
"scheme": u"ДК021",
"id": u"44617100-9",
"description": u"Cartons"
},
Expand Down
4 changes: 2 additions & 2 deletions openprocurement/tender/openua/tests/tender.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,13 +999,13 @@ def test_patch_tender(self):
self.assertEqual(len(response.json['data']['items']), 1)

response = self.app.patch_json('/tenders/{}?acc_token={}'.format(tender['id'], owner_token), {'data': {'items': [{"classification": {
"scheme": "CPV",
"scheme": "ДК021",
"id": "44620000-2",
"description": "Cartons 2"
}}]}}, status=200)

response = self.app.patch_json('/tenders/{}?acc_token={}'.format(tender['id'], owner_token), {'data': {'items': [{"classification": {
"scheme": "CPV",
"scheme": "ДК021",
"id": "55523100-3",
"description": "Послуги з харчування у школах"
}}]}}, status=403)
Expand Down

0 comments on commit 52614f5

Please sign in to comment.