From 084bef72ae1f262e7c5642ff5a09940eced932e9 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 5 Oct 2020 04:59:11 +0300 Subject: [PATCH] Updated deps versions --- requirements/default.txt | 2 +- requirements/linux.txt | 2 +- requirements/windows.txt | 2 +- test/test_convert.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements/default.txt b/requirements/default.txt index 44bc0c0..0a50369 100644 --- a/requirements/default.txt +++ b/requirements/default.txt @@ -1,4 +1,4 @@ psutil>=2.1.1 netifaces>=0.10.4 -pyvalid>=0.9 +pyvalid>=1.0 enum34>=1.1 \ No newline at end of file diff --git a/requirements/linux.txt b/requirements/linux.txt index b5e2ddd..5797349 100644 --- a/requirements/linux.txt +++ b/requirements/linux.txt @@ -1,5 +1,5 @@ psutil>=2.1.1 netifaces>=0.10.4 -pyvalid>=0.9 +pyvalid>=1.0 enum34>=1.1 distro>=1.5 \ No newline at end of file diff --git a/requirements/windows.txt b/requirements/windows.txt index 5e06f19..3a8166d 100644 --- a/requirements/windows.txt +++ b/requirements/windows.txt @@ -1,5 +1,5 @@ psutil>=2.1.1 netifaces>=0.10.4 -pyvalid>=0.9 +pyvalid>=1.0 enum34>=1.1 wmi>=1.4.9 diff --git a/test/test_convert.py b/test/test_convert.py index 8e1769e..a2c889f 100644 --- a/test/test_convert.py +++ b/test/test_convert.py @@ -4,7 +4,7 @@ def test_get_name_reduction(): # Existing reduction reduction = UnitByte.get_name_reduction(UnitByte.megabyte) - assert reduction is 'MB' + assert reduction == 'MB' # Non-existing reduction reduction = UnitByte.get_name_reduction('Non-existing reduction') assert reduction is None