Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bibi21000 committed Jan 4, 2018
1 parent 73bf687 commit c560f50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions tests/data/janitoo_raspberry_i2c_ads.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ uuid = 2c05118a-8b07-11e5-a0f1-b827eba8556d
auto_start = True
components.ads1 = rpii2c.ads
hadd = 0144/0000
uuid = 2d529468-8b07-11e5-a0f1-b827eba8556d
heartbeat = 30
uuid = e4b076ec-f19a-11e7-9038-d0577b0db6af

[rpii2c__ads1]
hadd = 0144/0001
data_poll_0 = 15
heartbeat = 20

[loggers]
keys = root,sqlalchemy,alembic,alembic.migration,janitoo
Expand All @@ -40,7 +45,7 @@ keys = generic
[logger_root]
level = DEBUG
handlers = file
qualname =
qualname =

[logger_janitoo]
level = DEBUG
Expand Down Expand Up @@ -78,7 +83,3 @@ args = ('/tmp/janitoo_test/log/jnt_pi.log', 'w')
format = %(asctime)s - %(levelname)-8.8s - [%(name)s] %(message)s
datefmt = %H:%M:%S

[rpii2c__ads1]
hadd = 0144/0001
data_poll_0 = 15
heartbeat = 20
2 changes: 1 addition & 1 deletion tests/test_ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class TestADSThread(JNTTThreadRun, JNTTThreadRunCommon):
"""Test the datarrd thread
"""
thread_name = "rpii2c"
conf_file = "tests/data/janitoo_raspberry_i2c_ina219.conf"
conf_file = "tests/data/janitoo_raspberry_i2c_ads.conf"

def test_101_check_values(self):
self.skipRasperryTest()
Expand Down

0 comments on commit c560f50

Please sign in to comment.