GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ericsalesdeandrade/pytest-pythonpath-example: 4 Proven Ways To Define Pytest PythonPath and Avoid Module Import Errors

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
src/area_calculator
src/area_calculator
 
 
tests/unit
tests/unit
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pytest.ini
pytest.ini
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Pytest PythonPATH Example

This repo contains the sample code for the article - 4 Proven Ways To Define Pytest PythonPath and Avoid Module Import Errors

This project explains 4 proven ways to specify PythonPATH for Pytest.

Requirements

  • Python (3.11+)

Please install the dependencies via the requirements.txt file using

pip install -r requirements.txt

If you don't have Pip installed please follow instructions online on how to do it.

How To Run the Unit Tests

To run the Unit Tests, from the root of the repo run

pytest -v -s

If you have any questions about the project please raise an Issue on GitHub.

About

4 Proven Ways To Define Pytest PythonPath and Avoid Module Import Errors

pytest-with-eric.com/introduction/pytest-pythonpath/

Topics

pytest-pythonpathpython-pathpythonpath

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.