From 4a9cd0ef7e0d49dc66f1d93b9f1c1d976647a4db Mon Sep 17 00:00:00 2001 From: Ismail Baris Date: Sat, 24 Mar 2018 02:37:47 +0100 Subject: [PATCH] Add unit tests and changed version to 0.0.2.1 --- docs/conf.py | 2 +- setup.py | 2 +- tests/test_auxil.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c367602..b3f326e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,7 @@ author = u'Ismail Baris' # The short X.Y version -version = u'0.0.1.1' +version = u'0.0.2.1' # The full version, including alpha/beta/rc tags release = u'20.03.2018' diff --git a/setup.py b/setup.py index 2f4d994..a9d6453 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ def get_packages(): setup(name='pyrism', - version='0.0.2.0', + version='0.0.2.1', description='Python bindings for Remote Sensing Models', diff --git a/tests/test_auxil.py b/tests/test_auxil.py index dd1fbec..813b5cc 100644 --- a/tests/test_auxil.py +++ b/tests/test_auxil.py @@ -6,17 +6,17 @@ class TestResultClass: - def reflectance(self): + def test_reflectance(self): test = ReflectanceResult(a=1, b=2) assert test.a == 1 assert test.b == 2 - def emissivity(self): + def test_emissivity(self): test = EmissivityResult(a=1, b=2) assert test.a == 1 assert test.b == 2 - def sail(self): + def test_sail(self): test = SailResult(a=1, b=2) assert test.a == 1 assert test.b == 2