async def test_get(self):
    (await IntFields.filter(intnum__gte=70).update(intnum_null=80))
    self.assertEqual((await IntFields.all().get(intnum=40)).intnum, 40)
    self.assertEqual((await IntFields.all().get(intnum=40).values())['intnum'], 40)
    self.assertEqual((await IntFields.all().get(intnum=40).values_list())[1], 40)
    self.assertEqual((await IntFields.all().all().all().all().all().get(intnum=40)).intnum, 40)
    self.assertEqual((await IntFields.all().all().all().all().all().get(intnum=40).values())['intnum'], 40)
    self.assertEqual((await IntFields.all().all().all().all().all().get(intnum=40).values_list())[1], 40)
    self.assertEqual((await IntFields.get(intnum=40)).intnum, 40)
    self.assertEqual((await IntFields.get(intnum=40).values())['intnum'], 40)
    self.assertEqual((await IntFields.get(intnum=40).values_list())[1], 40)
    with self.assertRaises(DoesNotExist):
        (await IntFields.all().get(intnum=41))
    with self.assertRaises(DoesNotExist):
        (await IntFields.all().get(intnum=41).values())
    with self.assertRaises(DoesNotExist):
        (await IntFields.all().get(intnum=41).values_list())
    with self.assertRaises(DoesNotExist):
        (await IntFields.get(intnum=41))
    with self.assertRaises(DoesNotExist):
        (await IntFields.get(intnum=41).values())
    with self.assertRaises(DoesNotExist):
        (await IntFields.get(intnum=41).values_list())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.all().get(intnum_null=80))
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.all().get(intnum_null=80).values())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.all().get(intnum_null=80).values_list())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.get(intnum_null=80))
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.get(intnum_null=80).values())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.get(intnum_null=80).values_list())
async def test_get(self):
    (await IntFields.filter(intnum__gte=70).update(intnum_null=80))
    self.assertEqual((await IntFields.all().get(intnum=40)).intnum, 40)
    self.assertEqual((await IntFields.all().get(intnum=40).values())['intnum'], 40)
    self.assertEqual((await IntFields.all().get(intnum=40).values_list())[1], 40)
    self.assertEqual((await IntFields.all().all().all().all().all().get(intnum=40)).intnum, 40)
    self.assertEqual((await IntFields.all().all().all().all().all().get(intnum=40).values())['intnum'], 40)
    self.assertEqual((await IntFields.all().all().all().all().all().get(intnum=40).values_list())[1], 40)
    self.assertEqual((await IntFields.get(intnum=40)).intnum, 40)
    self.assertEqual((await IntFields.get(intnum=40).values())['intnum'], 40)
    self.assertEqual((await IntFields.get(intnum=40).values_list())[1], 40)
    with self.assertRaises(DoesNotExist):
        (await IntFields.all().get(intnum=41))
    with self.assertRaises(DoesNotExist):
        (await IntFields.all().get(intnum=41).values())
    with self.assertRaises(DoesNotExist):
        (await IntFields.all().get(intnum=41).values_list())
    with self.assertRaises(DoesNotExist):
        (await IntFields.get(intnum=41))
    with self.assertRaises(DoesNotExist):
        (await IntFields.get(intnum=41).values())
    with self.assertRaises(DoesNotExist):
        (await IntFields.get(intnum=41).values_list())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.all().get(intnum_null=80))
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.all().get(intnum_null=80).values())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.all().get(intnum_null=80).values_list())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.get(intnum_null=80))
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.get(intnum_null=80).values())
    with self.assertRaises(MultipleObjectsReturned):
        (await IntFields.get(intnum_null=80).values_list())