test(itam): Model DeviceOperatingSystem is not multi-org based skip those tests

ref: #855 #801
This commit is contained in:
2025-07-06 19:14:13 +09:30
parent b5f55c1eea
commit 803d7f3223

View File

@ -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' )