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:
0
app/accounting/tests/__init__.py
Normal file
0
app/accounting/tests/__init__.py
Normal 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
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user