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
Create a test that lets you plugin panel credentials, makes a bunch/all of the pydactyl api calls against the panel, then compares the output against a known good.
Ideally it would be automated so that it spins up a panel using the official docker image(s). It could either load the database with known good data, or make API calls to create the known good data (e.g. create_node(name='integration_test_node') then get_node() that checks that the name was set).
A mock API server would likely be effort to maintain and decrease the accuracy of the integration test.
The text was updated successfully, but these errors were encountered:
Create a test that lets you plugin panel credentials, makes a bunch/all of the pydactyl api calls against the panel, then compares the output against a known good.
Ideally it would be automated so that it spins up a panel using the official docker image(s). It could either load the database with known good data, or make API calls to create the known good data (e.g.
create_node(name='integration_test_node')
thenget_node()
that checks that the name was set).A mock API server would likely be effort to maintain and decrease the accuracy of the integration test.
The text was updated successfully, but these errors were encountered: