Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/a246404800934002_special_items'
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jan 24, 2017
2 parents b2e4767 + 837d5d6 commit 4df2a89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/openprocurement/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def validate_longitude(self, data, longitude):


ADDITIONAL_CLASSIFICATIONS_SCHEMES = [u'ДКПП', u'NONE', u'ДК003', u'ДК015', u'ДК018']
ADDITIONAL_CLASSIFICATIONS_SCHEMES_2017 = [u'ДК003', u'ДК015', u'ДК018']
ADDITIONAL_CLASSIFICATIONS_SCHEMES_2017 = [u'ДК003', u'ДК015', u'ДК018', u'specialNorms']


def validate_dkpp(items, *args):
Expand Down
2 changes: 1 addition & 1 deletion src/openprocurement/api/tests/tender.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def test_create_tender_invalid(self):
self.assertEqual(response.json['status'], 'error')
if get_now() > CPV_ITEMS_CLASS_FROM:
self.assertEqual(response.json['errors'], [
{u'description': [{u'additionalClassifications': [u"One of additional classifications should be one of [ДК003, ДК015, ДК018]."]}], u'location': u'body', u'name': u'items'}
{u'description': [{u'additionalClassifications': [u"One of additional classifications should be one of [ДК003, ДК015, ДК018, specialNorms]."]}], u'location': u'body', u'name': u'items'}
])
else:
self.assertEqual(response.json['errors'], [
Expand Down

0 comments on commit 4df2a89

Please sign in to comment.