修正后台域名与泛域名证书验收
This commit is contained in:
1 parent
8549b2333f
commit
3de092d5fe
7 files changed
+57
-18
No files matched your search
@@ -264,7 +264,7 @@ class DeploymentTests(unittest.TestCase):
|
||||
|
||||
def test_wrong_domain_does_not_change_live_files(self):
|
||||
with patch.object(deploy, 'DOMAINS', ('wrong.example',)), \
|
||||
self.assertRaises(subprocess.CalledProcessError):
|
||||
self.assertRaisesRegex(RuntimeError, '根域名和泛域名'):
|
||||
deploy.main()
|
||||
self.assert_old_untouched()
|
||||
|
||||
|
||||
Reference in new issue
Block a user