'Test load status indication by value of _rows'

def testLoadStatusIndication(self):

    assertEqual = self.assertEqual
    assertNotEqual = self.assertNotEqual
    assertTrue = self.assertTrue
    resource = current.s3db.resource('project_time')
    assertEqual(resource._rows, None)
    resource.load()
    assertNotEqual(resource._rows, None)
    assertTrue(isinstance(resource._rows, list))
    resource.clear()
    assertEqual(resource._rows, None)
