Skip to content

Commit

Permalink
back to one repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnro314 committed Nov 2, 2023
1 parent 1efbda9 commit e8c42d2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ def lfs_client(pytestconfig):
# Setup lakeFS
repo_name = pytestconfig.getoption('--repository')
storage_namespace = pytestconfig.getoption('--storage_namespace')
lfs_client.config.setup_comm_prefs(CommPrefsInput(feature_updates=False, security_updates=False, email=MOCK_EMAIL))
lfs_client.internal_api.setup_comm_prefs(CommPrefsInput(feature_updates=False, security_updates=False, email=MOCK_EMAIL))
# lfs_client.internal_api.setup(Setup(username="lynn",
# key=AccessKeyCredentials(access_key_id=LAKEFS_ACCESS_KEY, secret_access_key=LAKEFS_SECRET_KEY)))
lfs_client.repositories.create_repository(
lfs_client.internal_api.setup(Setup(username="lynn",
key=AccessKeyCredentials(access_key_id=LAKEFS_ACCESS_KEY, secret_access_key=LAKEFS_SECRET_KEY)))
lfs_client.repositories_api.create_repository(
RepositoryCreation(name=repo_name, storage_namespace=storage_namespace))
return lfs_client

0 comments on commit e8c42d2

Please sign in to comment.