diff --git a/tests/requirements.txt b/tests/requirements.txt index 3698099..c19edbe 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,13 +1,13 @@ attrs==18.2.0 black==18.9b0 coverage==4.5.2 -flake8==3.6.0 +flake8==3.7.4 isort==4.3.4 -mypy==0.650 -pycodestyle==2.4.0 -pyflakes==2.0.0 -pytest==4.0.2 -pytest-cov==2.6.0 +mypy==0.660 +pycodestyle==2.5.0 +pyflakes==2.1.0 +pytest==4.2.0 +pytest-cov==2.6.1 pytest-isort==0.2.1 pytest-mock==1.10.0 pytest-sugar==0.9.2 diff --git a/tests/test_validators.py b/tests/test_validators.py index 36b8693..b7d1fac 100644 --- a/tests/test_validators.py +++ b/tests/test_validators.py @@ -32,10 +32,10 @@ def test_int_validation(): assert exc_info.value.errors() == [ {'loc': ('a',), 'msg': 'value is not a valid integer', 'type': 'type_error.integer'} ] - assert Model(a=3).a is 3 - assert Model(a=True).a is 1 - assert Model(a=False).a is 0 - assert Model(a=4.5).a is 4 + assert Model(a=3).a == 3 + assert Model(a=True).a == 1 + assert Model(a=False).a == 0 + assert Model(a=4.5).a == 4 def test_validate_whole():