'Tests that the .get() method works on new and existing querysets'

@execute_count(3)
def test_query_expression_get_success_case(self):

    m = self.table.get((self.table.column('test_id') == 0), (self.table.column('attempt_id') == 0))
    assert isinstance(m, ResultObject)
    assert (m.test_id == 0)
    assert (m.attempt_id == 0)
    q = self.table.objects((self.table.column('test_id') == 0), (self.table.column('attempt_id') == 0))
    m = q.get()
    assert isinstance(m, ResultObject)
    assert (m.test_id == 0)
    assert (m.attempt_id == 0)
    q = self.table.objects((self.table.column('test_id') == 0))
    m = q.get((self.table.column('attempt_id') == 0))
    assert isinstance(m, ResultObject)
    assert (m.test_id == 0)
    assert (m.attempt_id == 0)
