Skip to content

Commit

Permalink
Test for returning the fetched data
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Jan 8, 2019
1 parent 0ea20e1 commit ad9fb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyblnet/tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_blnet_fetch_fine_grained(self):
fetched = STATE

def scratch_tuple(type, id, ret):
return fetched[type][id][ret], fetched[type][id]
return fetched[type][id][ret], fetched[type][id], fetched

blnet = BLNET(ADDRESS, password=PASSWORD, timeout=10, use_ta=False, web_port=self.port)
self.assertEqual(blnet.get_analog_value(id=5, cached=fetched), scratch_tuple('analog', 5, 'value'))
Expand Down

0 comments on commit ad9fb1c

Please sign in to comment.