class documentation

class LeaseTests(APITestCase, TestCase):

View In Hierarchy

This is Lease test class.

Method test_create_lease Ensure we can create a new Lease object.
Method test_delete_lease Ensure we can delete a lease object.
Method test_show_lease Ensure we can fetch a Lease object.
Method test_update_lease Ensure we can update a lease object.
def test_create_lease(self):

Ensure we can create a new Lease object.

def test_delete_lease(self):

Ensure we can delete a lease object.

def test_show_lease(self):

Ensure we can fetch a Lease object.

def test_update_lease(self):

Ensure we can update a lease object.