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.
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.