test(settings): AppSettings perms tests are not org based, skip those tests
ref: #849 #834
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import pytest
|
||||
|
||||
|
||||
|
||||
class AdditionalTestCases:
|
||||
@ -19,3 +21,25 @@ class AdditionalTestCases:
|
||||
('different_organization_user_forbidden',
|
||||
'Permission not restricted to orgs, they are app wide'),
|
||||
]
|
||||
|
||||
|
||||
def test_returned_results_only_user_orgs(self):
|
||||
"""Returned results check
|
||||
|
||||
Ensure that a query to the viewset endpoint does not return
|
||||
items that are not part of the users organizations.
|
||||
"""
|
||||
|
||||
pytest.xfail( reason = 'model is not org based' )
|
||||
|
||||
|
||||
def test_returned_data_from_user_and_global_organizations_only(
|
||||
self
|
||||
):
|
||||
"""Check items returned
|
||||
|
||||
Items returned from the query Must be from the users organization and
|
||||
global ONLY!
|
||||
"""
|
||||
|
||||
pytest.xfail( reason = 'model is not org based' )
|
||||
|
Reference in New Issue
Block a user