aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_abstract_parser.py
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-06 09:47:35 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-08-06 09:47:35 -0500
commit836cefe45633331d0e5692295174bf3181a5e365 (patch)
tree8602b312e67cc591f33022f56221ca7434cfe33f /tests/test_abstract_parser.py
parentUpdate README example to remove MissingKeyError (diff)
downloadconfig-file-836cefe45633331d0e5692295174bf3181a5e365.zip
Change MissingKeyErrors to KeyError
Diffstat (limited to 'tests/test_abstract_parser.py')
-rw-r--r--tests/test_abstract_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_abstract_parser.py b/tests/test_abstract_parser.py
index a2d9dbe..1816f6b 100644
--- a/tests/test_abstract_parser.py
+++ b/tests/test_abstract_parser.py
@@ -34,7 +34,7 @@ class ConcreteParser(AbstractParser):
def test_that_abstract_parser_can_not_be_instantiated():
"""
- config_file.abstract_parser.abstract_parser
+ config_file.abstract_parser.AbstractParser
Ensure the AbstractParser raises a TypeError when it is
instantiated.
@@ -56,7 +56,7 @@ def test_that_abstract_parser_can_not_be_instantiated():
)
def test_that_abstract_parser_raises_not_implemented_errors(function, args):
"""
- config_file.abstract_parser.abstract_parser
+ config_file.abstract_parser.AbstractParser
Ensure the AbstractParser raises a NotImplementedError
for every method in it.