Add an isolated PHP smoke test for hosting plans
This commit is contained in:
1 parent
64ee6ddcba
commit
374408f8c7
14 files changed
+253
-6
No files matched your search
@@ -28,5 +28,13 @@ class WebProvisioningPlan(models.Model):
|
||||
def for_account(cls, account):
|
||||
return cls(account=account, primary_domain=account.primary_domain)
|
||||
|
||||
@property
|
||||
def can_export(self):
|
||||
return (
|
||||
self.completed_at is not None
|
||||
and bool(self.apache_config)
|
||||
and self.primary_domain == self.account.primary_domain
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.primary_domain)
|
||||
Reference in new issue
Block a user