Skip to content

Commit

Permalink
Rename docs/source/toml.md to docs/source/yaml.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexleach authored and GeorgianaElena committed Jul 26, 2021
1 parent 3f5b673 commit 6d8b714
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/proxytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def wait_for_services(urls):
),
],
)
async def _test_add_get_delete(
async def test_add_get_delete(
request, proxy, launch_backend, routespec, existing_routes, event_loop
):
default_target = "http://127.0.0.1:9000"
Expand Down Expand Up @@ -284,7 +284,7 @@ async def _wait_for_deletion():
await test_route_exist(spec, extra_backends[i])


async def _test_get_all_routes(proxy, launch_backend):
async def test_get_all_routes(proxy, launch_backend):
routespecs = ["/proxy/path1", "/proxy/path2/", "/proxy/path3/"]
targets = [
"http://127.0.0.1:9900",
Expand Down Expand Up @@ -330,7 +330,7 @@ async def _test_get_all_routes(proxy, launch_backend):
assert routes == expected_output


async def _test_host_origin_headers(proxy, launch_backend):
async def test_host_origin_headers(proxy, launch_backend):
routespec = "/user/username/"
target = "http://127.0.0.1:9000"
data = {}
Expand Down Expand Up @@ -374,7 +374,7 @@ async def _test_host_origin_headers(proxy, launch_backend):


@pytest.mark.parametrize("username", ["zoe", "50fia", "秀樹", "~TestJH", "has@"])
async def _test_check_routes(proxy, username):
async def test_check_routes(proxy, username):
# fill out necessary attributes for check_routes
proxy.app = MockApp()
proxy.hub = proxy.app.hub
Expand Down

0 comments on commit 6d8b714

Please sign in to comment.