def create_fake_port(**kw): fake_port = Port() fake_port.uuid = kw.get('uuid', 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee') fake_port.create() # TODO add cleanup return fake_port
def test_create(self): port = Port() port.create()