

def test_NOT_PROVIDED(self):
    from django.db.models import fields
    self.assertEqual(pyamf.encode(fields.NOT_PROVIDED, encoding=pyamf.AMF0).getvalue(), '\x06')
    encoder = pyamf.get_encoder(pyamf.AMF3)
    encoder.writeElement(fields.NOT_PROVIDED)
    self.assertEqual(encoder.stream.getvalue(), '\x00')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/adapters/test_django.py TypeMapTestCase.test_NOT_PROVIDED/original