test(itam): Model DeviceOperatingSystem is not multi-org based skip those tests
ref: #855 #801
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
import pytest
|
||||
|
||||
|
||||
|
||||
class AdditionalTestCases:
|
||||
|
||||
|
||||
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