def create_user(name: str, pwd: str, tid: str = "", containers_namespace: str = "backend-tests") -> User: cli = CliUseradm(containers_namespace) uid = cli.create_user(name, pwd, tid) return User(uid, name, pwd)
def create_user(name, pwd, tid='', docker_prefix=None): cli = CliUseradm(docker_prefix) uid = cli.create_user(name, pwd, tid) return User(uid, name, pwd)
def create_user(self, username, password, tenant_id=""): namespace = get_container_manager().name cli = CliUseradm(containers_namespace=namespace) cli.create_user(username, password, tenant_id)