Skip to content

Commit

Permalink
chore: add find_yaml_config_file test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-RA-King committed Aug 27, 2022
1 parent 6ff0b20 commit 5ffd98b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/test_find_yaml_config_file.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Core Library modules
from typing import Any

# Third party modules
import pytest

# First party modules
from piptools_sync import piptools_sync

TEST_DIR = pytest.TEST_DIR


def test_find_yaml_config_file() -> None:
result = piptools_sync.find_yaml_config_file()
file = result.stem
assert file == ".pre-commit-config"

0 comments on commit 5ffd98b

Please sign in to comment.