def test_resource_create(self): ''' test that the resource factory methods work ''' cake1 = ContinuousResource.random() cake2 = ContinuousResource.random() self.assertNotEqual(cake1, cake2)