-
Notifications
You must be signed in to change notification settings - Fork 11
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
base: a172713223911293_add_default_enquiryPeriod.startDate
Are you sure you want to change the base?
Conversation
@@ -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, |
There was a problem hiding this comment.
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, оскільки ми не знаємо термів введення цієї зміни
@@ -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): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тести мають бути часозалежні
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тести мають бути часозалежні
This change is