diff --git a/README_SETUP.md b/README_SETUP.md index 43047d554afbe8ffba11aef67b20dde44d29bdcf..daab4707679e30cfecf6f995dfb75f327304cb33 100644 --- a/README_SETUP.md +++ b/README_SETUP.md @@ -11,7 +11,7 @@ git clone 'https://gitlab.com/caosdb/caosdb-advanced-user-tools' Dependencies will be installed automatically if you use the below described procedure. - `caosdb>=0.6.0` -- `openpyxl>=3.0.0` +- `openpyxl>=3.0.7` - `xlrd>=1.2.0` - `pandas>=1.2.0` - `numpy>=1.17.3` diff --git a/setup.py b/setup.py index 39d806c1dcd4abca6f6f2d756d7b9f1e41c4ba95..3f2bb4ff4aee373b2ded8d1f309b5fb5347f1e3c 100755 --- a/setup.py +++ b/setup.py @@ -157,7 +157,7 @@ def setup_package(): install_requires=["caosdb>=0.7.0", "jsonschema>=4.4.0", "numpy>=1.17.3", - "openpyxl>=3.0.0", + "openpyxl>=3.0.7", "pandas>=1.2.0", "xlrd>=2.0", ], diff --git a/tox.ini b/tox.ini index ddfb4714f6b86d93e9567fe3c1410f2a1ce965cf..42ff0df986d179ce9770937dba4886f3b4e7ad0f 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ deps=nose pytest pytest-cov gitignore-parser - openpyxl + openpyxl >= 3.0.7 xlrd == 1.2 h5py commands=py.test --cov=caosadvancedtools -vv {posargs} diff --git a/unittests/test_cfood.py b/unittests/test_cfood.py index 7055bc7c51962c0cbc487f29bcdacb391218a7d3..62e4b114a1c5cd8f3631f774637f3876c545afd3 100644 --- a/unittests/test_cfood.py +++ b/unittests/test_cfood.py @@ -336,6 +336,7 @@ class MealTest(unittest.TestCase): class FileCacheTest(unittest.TestCase): def test(self): + # if there is no connection to a server an exception should be raised. self.assertRaises(Exception, get_entity_for_path, "/lol") FileCrawler(cfood_types=[], files=[db.File(path="/lol")]) get_entity_for_path("/lol")