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

8 tests fail #508

Open
yurivict opened this issue Jul 14, 2024 · 1 comment
Open

8 tests fail #508

yurivict opened this issue Jul 14, 2024 · 1 comment

Comments

@yurivict
Copy link

log

Tarball is taken from PYPI: https://files.pythonhosted.org/packages/2a/70/18cb6e9d0f3d88a562b94ae9752753f564cf331a5d00cc66b12081f1d84b/eemeter-4.0.5.tar.gz

Version: 4.0.5
Python-3.11

@jason-recurve
Copy link
Contributor

There are two problems here:

  • test_data.csv isn't automatically included with the tests directory due to its extension, we'll have to explicitly add it
  • a missing test dependency snapshottest

We've typically run our testing within a Docker container that mounts the project directory and includes dev dependencies, so this snuck past us. We can add a test_requires section in setup.py for now, and clean this up further when we switch to using pyproject.toml.

For now, if you'd like to verify the tests in your environment, you can fetch https://raw.githubusercontent.com/openeemeter/eemeter/master/tests/daily_model/test_data.csv and pip install snapshottest prior to running pytest

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

No branches or pull requests

2 participants