testing

class trame.app.testing.TrameServerMonitor(log_path)

Bases: object

Helper class capture sever state from log

trame.app.testing.remove_page_urls(base_path)

Selenium capture page_url.txt which will change through tests and therefore we need to remove them.

trame.app.testing.print_state(**kwargs)

Helper to print the server state in a way TrameServerMonitor can understand

trame.app.testing.enable_testing(server, *state_monitor)

Register state monitoring for TrameServerMonitor and port extractor