Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test failure after last merges. #327

Closed
steve-bate opened this issue Aug 20, 2024 · 0 comments · Fixed by #330
Closed

Unit test failure after last merges. #327

steve-bate opened this issue Aug 20, 2024 · 0 comments · Fixed by #330

Comments

@steve-bate
Copy link
Member

>       assert f'"type": "{NodeDriverTestException.__name__}"' in j
E       assert '"type": "NodeDriverTestException"' in '{\n    "plan": {\n        "sessions": [\n            {\n                "constellation": {\n                    "role...name": null,\n    "hostname": null,\n    "type": "feditest-testrun-transcript",\n    "feditest_version": "feditest"\n}'

tests/test_report_node_driver_errors.py:92: AssertionError
----------------------------- Captured stderr call -----------------------------
ERROR    feditest:reporting.py:108 Ended TestRunSession Unnamed with Exception:
Traceback (most recent call last):
  File ".../feditest/src/feditest/testrun.py", line 342, in run
    self.run_constellation.setup()
  File ".../feditest/src/feditest/testrun.py", line 84, in setup
    node : Node = node_driver.provision_node(plan_role_name, plan_node)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../feditest/src/feditest/protocols/__init__.py", line 131, in provision_node
    ret = self._provision_node(rolename, test_plan_node, parameters)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: init.<locals>.Faulty_NodeDriver._provision_node() takes 3 positional arguments but 4 were given
@steve-bate steve-bate changed the title Seeing unit test failure after last merges. Unit test failure after last merges. Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant