Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A429024013052686 add tender tests #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladkhard
Copy link

No description provided.

@@ -704,3 +704,27 @@ def tender_submission_method_details_no_auction_only(self):
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['data']['submissionMethodDetails'], "quick(mode:no-auction)")

def validate_items(self):
my_data = deepcopy(self.initial_data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my_ ? нащо?


self.assertEqual(response.status, '201 Created')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['data']['submissionMethodDetails'], "quick(mode:no-auction)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"quick(mode:no-auction)" це обов'язково мати для тестування items?


def validate_items(self):
my_data = deepcopy(self.initial_data)
my_data["items"][0]["classification"]["id"] = u"33693100-5"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для чого змінювати значення?

my_data["items"][0]["classification"]["id"] = u"92332000-7"
my_data["items"].append(deepcopy(my_data["items"][0]))
my_data["items"][1]["classification"]["id"] = u"92340000-6"
my_data["revisions"] = []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revisions ? для чого його встановлювати?

@coveralls
Copy link

coveralls commented Sep 15, 2017

Coverage Status

Coverage increased (+0.06%) to 95.705% when pulling fcfb445 on vladkhard:a429024013052686_add_tender_tests into 8453297 on openprocurement:master.

@vladkhard vladkhard force-pushed the a429024013052686_add_tender_tests branch 8 times, most recently from 519a267 to c1f8ad7 Compare September 18, 2017 13:07
@@ -732,3 +732,24 @@ def tender_submission_method_details_no_auction_only(self):
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['data']['submissionMethodDetails'], "quick(mode:no-auction)")

def validate_items(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Аналогічних перевірок в інших процедурах нема? Якщо немає, то є смисл перенести цей тест в базовий пакет і включити його у всіх процедурах.

@vladkhard vladkhard force-pushed the a429024013052686_add_tender_tests branch from c1f8ad7 to d211944 Compare September 21, 2017 08:13
@coveralls
Copy link

coveralls commented Sep 21, 2017

Coverage Status

Coverage increased (+0.04%) to 96.616% when pulling d211944 on vladkhard:a429024013052686_add_tender_tests into 8659a9e on openprocurement:master.

@vladkhard vladkhard force-pushed the a429024013052686_add_tender_tests branch from d211944 to c9e6fc4 Compare October 2, 2017 15:53
@coveralls
Copy link

coveralls commented Oct 2, 2017

Coverage Status

Coverage increased (+0.03%) to 97.168% when pulling c9e6fc4 on vladkhard:a429024013052686_add_tender_tests into 9b9eefe on openprocurement:master.

@vladkhard vladkhard force-pushed the a429024013052686_add_tender_tests branch from c9e6fc4 to b9fa4f0 Compare November 16, 2017 12:57
@coveralls
Copy link

coveralls commented Nov 16, 2017

Coverage Status

Coverage increased (+0.006%) to 97.328% when pulling b9fa4f0 on vladkhard:a429024013052686_add_tender_tests into c4aeb29 on openprocurement:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants