diff options
Diffstat (limited to 'test/test_share_mount.py')
-rw-r--r-- | test/test_share_mount.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_share_mount.py b/test/test_share_mount.py index f46e1279..f22fbe75 100644 --- a/test/test_share_mount.py +++ b/test/test_share_mount.py @@ -70,8 +70,8 @@ class TestShareMount(TestApplicationProto): skip_alert(r'opening.*failed') resp = self.get(url='/mount/') - resp['status'] == 200 - resp['body'] == 'mount' + assert resp['status'] == 200 + assert resp['body'] == 'mount' assert 'success' in self.conf( {"share": temp_dir + "/assets/dir", "traverse_mounts": False}, @@ -86,8 +86,8 @@ class TestShareMount(TestApplicationProto): ), 'configure mount enable' resp = self.get(url='/mount/') - resp['status'] == 200 - resp['body'] == 'mount' + assert resp['status'] == 200 + assert resp['body'] == 'mount' def test_share_mount_two_blocks(self, temp_dir, skip_alert): skip_alert(r'opening.*failed') @@ -128,7 +128,7 @@ class TestShareMount(TestApplicationProto): 'routes/0/action', ), 'configure chroot mount default' - self.get(url='/mount/')['status'] == 200, 'chroot' + assert self.get(url='/mount/')['status'] == 200, 'chroot' assert 'success' in self.conf( { @@ -139,4 +139,4 @@ class TestShareMount(TestApplicationProto): 'routes/0/action', ), 'configure chroot mount disable' - self.get(url='/mount/')['status'] == 403, 'chroot mount' + assert self.get(url='/mount/')['status'] == 403, 'chroot mount' |