'Tests that using invalid or nonexistant columns for query args raises an error'

def test_using_nonexistant_column_names_in_query_args_raises_error(self):

    with self.assertRaises(AttributeError):
        TestModel.objects((TestModel.nonsense == 5))
