'Test system query capabilities in TestResultSet object.'

def test_system_query(self):

    rs = ResultSet({u'series': [{u'values': [[u'another', u'48h0m0s', 3, False], [u'default', u'0', 1, False], [u'somename', u'24h0m0s', 4, True]], u'columns': [u'name', u'duration', u'replicaN', u'default']}]})
    self.assertEqual(rs.keys(), [(u'results', None)])
    self.assertEqual(list(rs[u'results']), [{u'duration': u'48h0m0s', u'default': False, u'replicaN': 3, u'name': u'another'}, {u'duration': u'0', u'default': False, u'replicaN': 1, u'name': u'default'}, {u'duration': u'24h0m0s', u'default': True, u'replicaN': 4, u'name': u'somename'}])
