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
________________________________________
...\Python37\lib\site-packages\grappa\test.py:208: in__ror__returnself.__overload__(value)
...\Python37\lib\site-packages\grappa\test.py:196: in__overload__returnself.__call__(subject, overload=True)
...\Python37\lib\site-packages\grappa\test.py:73: in__call__returnself._trigger() ifoverloadelseTest(subject)
________________________________________self=<grappa.test.Testobjectat0x00000230CAC56F60>def_trigger(self):
""" Trigger assertions in the current test engine. Raises: AssertionError: in case of assertion error. Exception: in case of any other assertion error. """log.debug('[test] trigger with context: {}'.format(self._ctx))
try:
err=self._engine.run(self._ctx)
exceptExceptionas_err:
err=_errfinally:
# Important: reset engine state to defaultsself._engine.reset()
self._root._engine.reset()
# If error is present, raise it!iferr:
>raiseerrEAssertionError: Oops! Somethingwentwrong!
EEThefollowingassertionwasnotsatisfiedEsubject"{'bar': True}"shouldnothavekey"foo"EEWhereEFile"...", line11, intest_grappa_issueEE11|> {'bar': True} |should.not_have.key('foo')
E12|
...\Python37\lib\site-packages\grappa\test.py:113: AssertionError
(I removed some lines of our code, so don't be confused about the line numbering)
The text was updated successfully, but these errors were encountered:
In the examples the following line is given, but it asserts to a failure using grappa 0.1.10:
See https://grappa.readthedocs.io/en/latest/operators.html#keys
The following error will be shown:
(I removed some lines of our code, so don't be confused about the line numbering)
The text was updated successfully, but these errors were encountered: