Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenBrown2 committed Jul 26, 2023
1 parent 54913dd commit a396c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rockstor/storageadmin/tests/test_pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def test_mount_options(self):

# test invalid compress-force applied via remount command
data2 = {"mnt_options": "compress-force=1"}
e_msg = "compress-force is only allowed with ('lzo', 'zlib', 'no')."
e_msg = "compress-force is only allowed with ('lzo', 'zlib', 'zstd', 'no')."
response = self.client.put(
"{}/{}/remount".format(self.BASE_URL, pId), data=data2
)
Expand Down
2 changes: 1 addition & 1 deletion src/rockstor/storageadmin/tests/test_shares.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def test_create(self):
data["compression"] = "invalid"
e_msg2 = (
"Unsupported compression algorithm (invalid). Use one of "
"('lzo', 'zlib', 'no')."
"('lzo', 'zlib', 'zstd', 'no')."
)
response3 = self.client.post(self.BASE_URL, data=data)
self.assertEqual(
Expand Down

0 comments on commit a396c5e

Please sign in to comment.