forked from seanshoffman/python-build-cli-planner-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ReTeam Labs
committed
Apr 2, 2020
1 parent
9867779
commit 73f6093
Showing
1 changed file
with
0 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +0,0 @@ | ||
import pytest | ||
from src.regular_class import RegularClass | ||
|
||
class TestApp(): | ||
def test_task_one(self): | ||
with pytest.raises(NotImplementedError) as e: | ||
regular = RegularClass() | ||
assert regular.__str__(), "Failed to raise the correct error type" | ||
assert str(e.value) == "Method not implemented", "Error message does not match 'Method not implemented'" | ||
|
||