Skip to content

Commit

Permalink
✏️ Fix typo (type annotation) in tests (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Dec 19, 2020
1 parent 7a48e96 commit af5e1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_01_main/test_defaults.py
Expand Up @@ -3,7 +3,7 @@

import docker
import requests
from docker.client import DockerClient
from docker.models.containers import Container

from ..utils import (
CONTAINER_NAME,
Expand All @@ -16,7 +16,7 @@
client = docker.from_env()


def verify_container(container: DockerClient, response_text: str) -> None:
def verify_container(container: Container, response_text: str) -> None:
response = requests.get("http://127.0.0.1:8000")
assert response.text == response_text
config_data = get_config(container)
Expand Down

0 comments on commit af5e1a0

Please sign in to comment.