You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In test_include_concept_descriptions it is not checked if the data is empty, which leads to the error
_assert('conceptDescriptions' in data, 'contains conceptDescriptions', Level.WARNING) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TypeError: argument of type 'NoneType' is not iterable
when testing our server.
This is fixed by adding the following assertion.
_assert(dataisnotNone, 'Result is not empty')
So when I use this method
deftest_include_concept_descriptions(self):
""" Invoke with includeConceptDescriptions """request=generate_one_valid(self.operation, self.sample_cache, {'includeConceptDescriptions': True})
data=_invoke_and_decode(request, self.conf, True)
_assert(dataisnotNone, 'Result is not empty')
_assert('conceptDescriptions'indata, 'contains conceptDescriptions', Level.WARNING)
it is possible to test our server.
The text was updated successfully, but these errors were encountered:
In
test_include_concept_descriptions
it is not checked if the data is empty, which leads to the errorwhen testing our server.
This is fixed by adding the following assertion.
So when I use this method
it is possible to test our server.
The text was updated successfully, but these errors were encountered: