import pytest @pytest.mark.skip(reason="We need to enable the suggested-rights-attributes endpoint on workstation.qaorch.com/grass before we can test it.") # noqa: E501 def test_get_suggested_rights_attributes(api_client, tuid_for_attributes): """Test validate tracks endpoint.""" get_response = api_client.get_suggested_rights_attributes(tuid_for_attributes) assert get_response.status_code == 200, \ 'Result of GET was {}, expected 200.'.format(get_response.status_code) assert get_response.json() == { 'items': [ {'track_rights_attribute_id': 0, 'rights_attribute_id': 5, 'description': 'Potential non-exclusive'} ], 'pagination': {'type': 'none', 'total_records': 1} }