Publish Zonghengjia Windows 0.4.0 client source
This commit is contained in:
@@ -155,7 +155,15 @@ class EmployeeBillingTests(TestCase):
|
||||
# still must not accept this row as proof that money was received.
|
||||
sub.save()
|
||||
self.assertFalse(sub.is_usable)
|
||||
node = Node.objects.create(name="fixture", slug="node-fixture", server="example.invalid", port=11082)
|
||||
node = Node.objects.create(
|
||||
name="fixture",
|
||||
slug="node-fixture",
|
||||
server="example.invalid",
|
||||
port=11082,
|
||||
status=Node.Status.ONLINE,
|
||||
active=True,
|
||||
subscription_enabled=True,
|
||||
)
|
||||
self.assertNotIn(sub, desired_subscriptions_for_node(node))
|
||||
employee_sub = Subscription.objects.create(user=self.employee, plan=self.plan, status="active", provisioning_state="active")
|
||||
self.assertTrue(employee_sub.is_usable)
|
||||
|
||||
Reference in New Issue
Block a user