'Setup for each test.'

def setUp(self):

    super(LeaseTests, self).setUp()
    self.leases = Leases()
    self.now = datetime.datetime.now()
    self.dataset_id = uuid4()
    self.node_id = uuid4()
    self.dataset = Dataset(dataset_id=unicode(self.dataset_id))
    self.node = Node(uuid=self.node_id)
    self.lease_duration = (60 * 60)
