Quellcode durchsuchen

test: re-organize test files

Nicolas Duchon vor 1 Jahr
Ursprung
Commit
62212186eb

+ 0 - 10
test/test_composev2.py

@@ -1,10 +0,0 @@
-import pytest
-
-def test_unknown_virtual_host(docker_compose, nginxproxy):
-    r = nginxproxy.get("http://nginx-proxy/")
-    assert r.status_code == 503
-
-def test_forwards_to_whoami(docker_compose, nginxproxy):
-    r = nginxproxy.get("http://web.nginx-proxy.example/port")
-    assert r.status_code == 200   
-    assert r.text == "answer from port 81\n"

+ 0 - 15
test/test_composev2.yml

@@ -1,15 +0,0 @@
-version: "2"
-
-services:
-  nginx-proxy:
-    image: nginxproxy/nginx-proxy:test
-    volumes:
-      - /var/run/docker.sock:/tmp/docker.sock:ro
-
-  web:
-    image: web
-    expose:
-      - "81"
-    environment:
-      WEB_PORTS: 81
-      VIRTUAL_HOST: web.nginx-proxy.example

+ 0 - 0
test/test_log_format.py → test/test_logs/test_log_format.py


+ 0 - 0
test/test_log_format.yml → test/test_logs/test_log_format.yml


+ 0 - 0
test/test_log_json.py → test/test_logs/test_log_json.py


+ 0 - 0
test/test_log_json.yml → test/test_logs/test_log_json.yml


+ 0 - 0
test/test_log_json_format.py → test/test_logs/test_log_json_format.py


+ 0 - 0
test/test_log_json_format.yml → test/test_logs/test_log_json_format.yml


+ 0 - 0
test/test_multiple-ports/test_VIRTUAL_PORT-single-different-from-single-port.py → test/test_ports/test_VIRTUAL_PORT-single-different-from-single-port.py


+ 0 - 0
test/test_multiple-ports/test_VIRTUAL_PORT-single-different-from-single-port.yml → test/test_ports/test_VIRTUAL_PORT-single-different-from-single-port.yml


+ 0 - 0
test/test_multiple-ports/test_VIRTUAL_PORT.py → test/test_ports/test_VIRTUAL_PORT.py


+ 0 - 0
test/test_multiple-ports/test_VIRTUAL_PORT.yml → test/test_ports/test_VIRTUAL_PORT.yml


+ 0 - 0
test/test_multiple-ports/test_default-80.py → test/test_ports/test_default-80.py


+ 0 - 0
test/test_multiple-ports/test_default-80.yml → test/test_ports/test_default-80.yml


+ 0 - 0
test/test_multiple-ports/test_single-port-not-80.py → test/test_ports/test_single-port-not-80.py


+ 0 - 0
test/test_multiple-ports/test_single-port-not-80.yml → test/test_ports/test_single-port-not-80.yml


+ 0 - 0
test/test_default-root-none.py → test/test_virtual-path/test_default-root-none.py


+ 0 - 0
test/test_default-root-none.yml → test/test_virtual-path/test_default-root-none.yml