Skip to content

Commit

Permalink
Changelog note
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Oct 9, 2024
1 parent 63786f2 commit c72dc00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.2 (by [@dependabot](https://github.com/apps/dependabot) in [#22](https://github.com/stumpylog/tika-client/pull/22))
- Update `pre-commit` to 4.0.1 ([#23](https://github.com/stumpylog/tika-client/pull/23))
- Use pytest fixtures effectively ([#24](https://github.com/stumpylog/tika-client/pull/24))
- Use pytest-docker in place of manual Docker ([#26](https://github.com/stumpylog/tika-client/pull/26))

## [0.6.0] - 2024-07-18

Expand Down
10 changes: 5 additions & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
logger = logging.getLogger("tika-client.tests")


@pytest.fixture(scope="session")
def docker_compose_file() -> Path:
return Path(__file__).parent / "docker" / "docker-compose.ci-test.yml"


@pytest.fixture(scope="session")
def tika_host(docker_services: Services, docker_ip: str) -> str:
def is_responsive(url):
Expand Down Expand Up @@ -93,11 +98,6 @@ def sample_xlsx_file(samples_dir: Path) -> Path:
return samples_dir / "sample-spreadsheet.xlsx"


@pytest.fixture(scope="session")
def docker_compose_file() -> Path:
return Path(__file__).parent / "docker" / "docker-compose.ci-test.yml"


@pytest.fixture
def tika_client(tika_host: str) -> Generator[TikaClient, None, None]:
with TikaClient(tika_url=tika_host, log_level=logging.INFO) as client:
Expand Down

0 comments on commit c72dc00

Please sign in to comment.