|
@@ -1,6 +1,6 @@
|
|
|
-from error_proxy import error_proxy
|
|
|
+from src.errors.error_proxy import error_proxy
|
|
|
import unittest
|
|
|
-from argument_exception import argument_exception
|
|
|
+from src.errors.argument_exception import argument_exception
|
|
|
|
|
|
|
|
|
|
|
@@ -21,7 +21,7 @@ class test_errors(unittest.TestCase):
|
|
|
assert ex.error.is_error
|
|
|
return
|
|
|
|
|
|
- assert 1 != 1
|
|
|
+ assert False
|
|
|
|
|
|
|
|
|
def test_check_set_exception(self):
|
|
@@ -36,7 +36,7 @@ class test_errors(unittest.TestCase):
|
|
|
error.set_error(ex)
|
|
|
|
|
|
# Проверки
|
|
|
- assert error.is_error == True
|
|
|
+ assert error.is_error
|
|
|
|
|
|
|
|
|
def test_check_set_error_text(self):
|
|
@@ -46,4 +46,4 @@ class test_errors(unittest.TestCase):
|
|
|
# Действие
|
|
|
|
|
|
# Проверки
|
|
|
- assert error.is_error == True
|
|
|
+ assert error.is_error
|