chore(itam): just add this fucking thing cause vscode is a cunt and wont pick up the test correctly as its using an old value that does not exist even though the fucking code works directly from the console via pytest.

ref: #741 #692
This commit is contained in:
2025-05-05 04:35:09 +09:30
parent 9561301500
commit 6c91cb008c
3 changed files with 8 additions and 1 deletions

View File

View File

@ -606,6 +606,13 @@ class PyTestTenancyObjectInheritedCases(
):
parameterized_fields: dict = {
"model_notes": {
'field_type': fields.TextField,
'field_parameter_verbose_name_type': str
}
}
def test_create_validation_exception_no_organization(self):
""" Tenancy objects must have an organization

View File

@ -189,7 +189,7 @@ def pytest_generate_tests(metafunc):
if type(item[1][key]) is type:
ids_name += '_' + getattr(item[1][key], '__name__', 'None').lower()
ids_name += '_' + getattr(item[1][key], '__name__', 'err_generate_tests').lower()
else: