-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bring up to speed with changes in dev
- Loading branch information
Showing
6 changed files
with
297 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"""Unit tests for transport_performance/population/vectorpop.py. | ||
At this stage, VectorPop has not been implemented, so the extent of this test | ||
suite is to ensure the NotImplementedError is raised. | ||
TODO: add unit test for methods once VectorPop has been implemented. | ||
""" | ||
|
||
import pytest | ||
|
||
from transport_performance.population.vectorpop import VectorPop | ||
|
||
|
||
class TestVectorPop: | ||
"""A class to test VectorPop methods.""" | ||
|
||
def test_vectorpop_not_implemented(self) -> None: | ||
"""Test VectorPop raises a not implemented error.""" | ||
with pytest.raises( | ||
NotImplementedError, | ||
match="This class has not yet been implemented", | ||
): | ||
VectorPop() |
Oops, something went wrong.