async def main():
controller = Controller()
print("Connecting to controller")
- await controller.connect_current()
+ # connect to current controller with current user, per Juju CLI
+ await controller.connect()
try:
model_name = "addmodeltest-{}".format(uuid.uuid4())