Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Docker FTPS server with pytest plugin fixture in pixl_core tests #288

Merged
merged 21 commits into from
Feb 8, 2024

Conversation

milanmlft
Copy link
Member

  • Created an installable pytest-pixl plugin module to share fixtures across PIXL modules
  • Added the ftpserver fixture to spin up a local FTPS server with pyftpdlib, with support for implicit SSL
  • Updated pixl_core tests to use the new fixture instead of the FTPS docker

Next steps will be to also integrate this in the system test and eventually migrate all shared pytest fixtures to the pytest-pixl module.

@milanmlft milanmlft requested a review from a team February 8, 2024 16:11
Copy link
Contributor

@stefpiatek stefpiatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, not sure if we're going to get circular dependencies with core

pixl_core/tests/conftest.py Outdated Show resolved Hide resolved
pytest-pixl/src/pytest_pixl/ftpserver.py Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
pytest-pixl/pyproject.toml Outdated Show resolved Hide resolved
@milanmlft milanmlft force-pushed the milanmlft/fix-system-test-ftp-server branch from 2cf48fa to f399983 Compare February 8, 2024 16:30
@milanmlft milanmlft enabled auto-merge (squash) February 8, 2024 18:14
@milanmlft milanmlft merged commit 186e53f into main Feb 8, 2024
8 checks passed
@milanmlft milanmlft deleted the milanmlft/fix-system-test-ftp-server branch February 8, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants