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

Create tests that test whether WaterCompany objects correctly process known data inputs #6

Open
AlexLipp opened this issue Dec 7, 2023 · 2 comments

Comments

@AlexLipp
Copy link
Owner

AlexLipp commented Dec 7, 2023

No description provided.

@AlexLipp AlexLipp mentioned this issue Oct 7, 2024
@AlexLipp
Copy link
Owner Author

AlexLipp commented Oct 7, 2024

Pull request #26 adds in a test script for water company initialisation such that it can be confirmed to be internally consistent. However, it would be desirable to provide mock API inputs to objects to confirm that the objects are also being created correctly with respect to known data inputs. For instance, this could make use of the 'Mocking' and 'Patching' capabilities of PyTest.

@AlexLipp AlexLipp changed the title Add unit tests Create tests that test whether WaterCompany objects correctly process known data inputs Oct 7, 2024
@AlexLipp
Copy link
Owner Author

AlexLipp commented Oct 7, 2024

Additionally, tests to check that the history attributes of a WaterCompany are being built correctly are required.

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

1 participant