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

test_template.py causes problems with PyTest #43

Open
PFython opened this issue Jan 13, 2021 · 0 comments
Open

test_template.py causes problems with PyTest #43

PFython opened this issue Jan 13, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PFython
Copy link
Owner

PFython commented Jan 13, 2021

PyTest attempts to run the current template file test_template.py.

It might make sense to convert all templates to .template or .txt and also consider using the built-in method string.Template() for and ${replace_this} for substitutions.

The following article explains string.Template : https://florian-dahlitz.de/blog/generate-file-reports-using-pythons-template-class

@PFython PFython added enhancement New feature or request good first issue Good for newcomers labels Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant