Extend ConfigFileNotFoundError
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
@@ -14,9 +14,9 @@ def test_return():
|
||||
|
||||
|
||||
def test_str_single_arg():
|
||||
x = ConfigFileNotFoundError("/tmp")
|
||||
x = ConfigFileNotFoundError("/tmp/cfg.cfg")
|
||||
s = x.__str__()
|
||||
assert s == "ConfigFileNotFoundError('/tmp')"
|
||||
assert s == "Config file does not exist: /tmp/cfg.cfg"
|
||||
|
||||
|
||||
def test_return_empty():
|
||||
|
||||
Reference in New Issue
Block a user