-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Milestone
Description
Post #2567 in testing branch we have the following similar test failures related to types:
buildvm:/opt/rockstor/src/rockstor # poetry run django-admin test -v 2
...
======================================================================
FAIL: test_create (rockstor.storageadmin.tests.test_shares.ShareTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/tests/test_shares.py", line 344, in test_create
self.assertEqual(response9.data[0], e_msg7)
AssertionError: "Replica must be a boolean, not (<class 'str'>)." != "Replica must be a boolean, not (<type 'unicode'>)."
- Replica must be a boolean, not (<class 'str'>).
? ^^^^^^^^^
+ Replica must be a boolean, not (<type 'unicode'>).
? +++++++++ ^^^
======================================================================
FAIL: test_post_requests_2 (rockstor.storageadmin.tests.test_snapshot.SnapshotTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/tests/test_snapshot.py", line 156, in test_post_requests_2
self.assertEqual(response.data[0], e_msg)
AssertionError: "Element 'uvisible' must be a boolean, not (<class 'str'>)." != "Element 'uvisible' must be a boolean, not (<type 'unicode'>)."
- Element 'uvisible' must be a boolean, not (<class 'str'>).
? ^^^^^^^^^
+ Element 'uvisible' must be a boolean, not (<type 'unicode'>).
?
- test_shares.py", line 344, in test_create
- test_snapshot.py", line 156, in test_post_requests_2
Metadata
Metadata
Assignees
Labels
No labels