Skip to content

Commit

Permalink
Fix GUI test names
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed May 16, 2023
1 parent 3bc1901 commit 3a1ca15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ def client() -> TestClient:
return TestClient(app)


def test_gui_home(client: TestClient) -> None:
def test_gui_select_directory(client: TestClient) -> None:
response = client.get("/")

assert response.status_code == 200
assert "Select Directory" in response.text


def test_gui_navigate_success(
def test_gui_select_directory_success(
client: TestClient,
tmp_path: Path,
) -> None:
Expand All @@ -30,7 +30,7 @@ def test_gui_navigate_success(
assert response.status_code == 200


def test_gui_navigate_input_not_found(
def test_gui_select_directory_input_not_found(
client: TestClient,
tmp_path: Path,
) -> None:
Expand All @@ -42,7 +42,7 @@ def test_gui_navigate_input_not_found(
assert response.json() == {"detail": "Input directory not a directory"}


def test_gui_navigate_output_not_found(
def test_gui_select_directory_output_not_found(
client: TestClient,
tmp_path: Path,
) -> None:
Expand Down

0 comments on commit 3a1ca15

Please sign in to comment.