auth system tests updated
@@ -112,8 +112,10 @@ class TestAuthenticationAPI:
r = r.read().decode()
jdoc = json.loads(r)
assert {'roles': [{'description': 'All CRUD privileges', 'id': 1, 'name': 'admin'},
- {'description': 'All CRUD operations and self profile management',
- 'id': 2, 'name': 'user'}]} == jdoc
+ {'description': 'All CRUD operations and self profile management', 'id': 2, 'name': 'user'},
+ {'id': 3, 'name': 'view', 'description': 'Only to view the configuration'},
+ {'id': 4, 'name': 'data-view', 'description': 'Only read the data in buffer'}
+ ]} == jdoc
@pytest.mark.parametrize(("form_data", "expected_values"), [
({"username": "any1", "password": "User@123", "real_name": "AJ", "description": "Nerd user"},
