Mercurial > code > home > repos > rdferry
comparison examples/serve_inline_graph_test.py @ 12:ba73d8ba81dc default tip
refactor
author | drewp@bigasterisk.com |
---|---|
date | Mon, 18 Mar 2024 16:51:44 -0700 |
parents | 0bc06da6bf74 |
children |
comparison
equal
deleted
inserted
replaced
11:0bc06da6bf74 | 12:ba73d8ba81dc |
---|---|
1 import logging | |
1 from pathlib import Path | 2 from pathlib import Path |
2 import logging | 3 |
3 import pytest | 4 import pytest |
4 | 5 |
5 from examples._run_server_child import RunHttpServerChildProcess, assert_event_stream_starts_with | 6 from examples._run_server_child import ( |
7 RunHttpServerChildProcess, | |
8 assert_event_stream_starts_with, | |
9 ) | |
6 | 10 |
7 log = logging.getLogger('test') | 11 log = logging.getLogger('test') |
8 logging.basicConfig(level=logging.INFO) | 12 logging.basicConfig(level=logging.INFO) |
9 server_path = Path('examples/serve_inline_graph.py') | 13 server_path = Path('examples/serve_inline_graph.py') |
10 | 14 |