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

Prohibition to remove startDate in tenderPeriod and enquiryPeriod #9

Open
wants to merge 2 commits into
base: a172713223911293_add_default_enquiryPeriod.startDate
Choose a base branch
from

Conversation

karmagood
Copy link
Contributor

@karmagood karmagood commented Mar 7, 2017

This change is Reviewable

@coveralls
Copy link

coveralls commented Mar 7, 2017

Coverage Status

Coverage decreased (-0.06%) to 97.801% when pulling c735fdd on karmagood:a172713223911293_add_default_enquiryPeriod.startDate into 67df2c1 on openprocurement:a172713223911293_add_default_enquiryPeriod.startDate.

@@ -20,7 +20,7 @@
LotValue, Bid, Revision, Question, Cancellation, Contract, Award, Feature,
Lot, schematics_embedded_role, schematics_default_role, ORA_CODES, WORKING_DAYS,
validate_features_uniq, validate_items_uniq, validate_lots_uniq, Period,
Complaint as BaseComplaint, TZ, get_now, set_parent, ComplaintModelType,
Complaint as BaseComplaint, TZ, get_now, set_parent, ComplaintModelType, CANT_DELETE_PERIOD_START_DATE_FROM,
Copy link
Contributor

Choose a reason for hiding this comment

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

тут має бути свій CANT_DELETE_PERIOD_START_DATE_FROM, оскільки ми не знаємо термів введення цієї зміни

@leits leits self-requested a review March 7, 2017 14:57
@@ -30,14 +18,6 @@ def test_switch_to_tendering_by_auctionPeriod_startDate(self):
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.json['data']["status"], "active.tendering")

def test_switch_to_tendering_auctionPeriod(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Тести мають бути часозалежні

Copy link
Contributor

Choose a reason for hiding this comment

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

ping

@@ -7,18 +7,6 @@

class AuctionSwitchtenderingResourceTest(BaseAuctionWebTest):

def test_switch_to_tendering_by_enquiryPeriod_endDate(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Тести мають бути часозалежні

@@ -1023,6 +1028,34 @@ def test_patch_auction(self):
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['errors'][0]["description"], "Can't update auction in current (complete) status")

@unittest.skipIf(get_now() < CANT_DELETE_PERIOD_START_DATE_FROM,
Copy link
Contributor

Choose a reason for hiding this comment

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

Тести мають бути часозалежні

@coveralls
Copy link

coveralls commented Mar 18, 2017

Coverage Status

Coverage decreased (-0.06%) to 97.802% when pulling 661422a on karmagood:a172713223911293_add_default_enquiryPeriod.startDate into 67df2c1 on openprocurement:a172713223911293_add_default_enquiryPeriod.startDate.

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.

3 participants