Commit 394f1425 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Periodicidy Day is at most on 28th of the month

parent 6855ce26
......@@ -1434,7 +1434,7 @@ class TestSlapOSSubscriptionScenarioMixin(DefaultScenarioMixin):
for subscription_request in subscription_request_list:
hosting_subscription = subscription_request.getAggregateValue()
self.assertEqual(hosting_subscription.getPeriodicityMonthDay(),
DateTime().day())
min(DateTime().day(), 28))
self.pinDateTime(DateTime(DateTime().asdatetime() + datetime.timedelta(days=17)))
self.addCleanup(self.unpinDateTime)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment