summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosh Blum2013-06-01 23:12:21 -0700
committerJosh Blum2013-06-01 23:12:21 -0700
commitab1f7e5871d9323242e9b3d21e2f7811f1567c43 (patch)
tree3046176a463a3938a86563bdbf274467ff30974e /tests
parentd15ca88acfbd71c5d4f8ab3dabe0f4fbde205985 (diff)
downloadsandhi-ab1f7e5871d9323242e9b3d21e2f7811f1567c43.tar.gz
sandhi-ab1f7e5871d9323242e9b3d21e2f7811f1567c43.tar.bz2
sandhi-ab1f7e5871d9323242e9b3d21e2f7811f1567c43.zip
gras: mutex fixes for uid API calls
Diffstat (limited to 'tests')
-rw-r--r--tests/query_test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/query_test.py b/tests/query_test.py
index ec8fade..3cbe648 100644
--- a/tests/query_test.py
+++ b/tests/query_test.py
@@ -65,12 +65,18 @@ class QueryTest(unittest.TestCase):
vec_source = VectorSource(numpy.uint32, [0, 9, 8, 7, 6])
vec_sink = VectorSink(numpy.uint32)
block = MyBlock()
+ block.set_uid("my_block_uid")
self.tb.connect(vec_source, block, vec_sink)
self.tb.run()
#query the block list
blocks_result = self.tb.query(dict(path="/blocks.json"))
self.assertEqual(len(blocks_result['blocks']), 3)
+ self.assertTrue('my_block_uid' in blocks_result['blocks'])
+
+ #set the property
+
+ #get the property
if __name__ == '__main__':
unittest.main()