Skip to content
Snippets Groups Projects
Commit 4d77c9ec authored by Christian Darsow-Fromm's avatar Christian Darsow-Fromm
Browse files

update openqlab

parent afbe4d4c
No related branches found
No related tags found
No related merge requests found
PIPFLAGS = -r requirements.txt --extra-index-url https://las-nq-serv.physnet.uni-hamburg.de/pypiserver
PIPFLAGS = -r requirements.txt
all: requirements test doc package
......
......@@ -22,7 +22,7 @@ wheel
setuptools
# setuptools_scm
# python-dotenv
OpenQlab>=0.1
OpenQlab>=0.1.4
jupyter_contrib_nbextensions
pytest<4.0
pytest-cov
......
......@@ -46,7 +46,7 @@ install_requires =
sphinx_rtd_theme
wheel
setuptools
OpenQlab>=0.1
OpenQlab>=0.1.4
jupyter_contrib_nbextensions
pytest<4.0
pytest-cov
......
......@@ -890,6 +890,19 @@ class TestTemperatureFeedback(unittest.TestCase):
self.assertIn('OK.', self.s._tempFeedback.last_answer)
self.s.tempFeedbackStop()
def test_adding_plant_data_string(self):
tests_dir = os.path.dirname(os.path.abspath(__file__))
testfile = '{}/fra.csv'.format(tests_dir)
compare = io.read(testfile)
#file is encoded in 'cp1252'
with open(testfile, mode='rb') as file:
data_string = file.read().decode('cp1252')
data = io.read(data_string)
self.assertTrue(data.equals(compare))
if __name__ == '__main__':
# t = TestTemperatureFeedback()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment