Skip to content

Commit

Permalink
Adding init files
Browse files Browse the repository at this point in the history
  • Loading branch information
ReTeam Labs committed Apr 2, 2020
1 parent d3fc7ec commit 9867779
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Empty file added src/__init__.py
Empty file.
Empty file added tests/__init__.py
Empty file.
10 changes: 10 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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'"

0 comments on commit 9867779

Please sign in to comment.