-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added defaultDeploymentRepo on RepositoryVirtual #461
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also need tests for this
dohq_artifactory/admin.py
Outdated
@@ -872,6 +872,7 @@ def __init__( | |||
self.notes = "" | |||
self.package_type = packageType or package_type | |||
self.repositories = repositories or [] | |||
default_deployment_repo_name=None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not an attribute of the class
and should we have it as such?
sorry indeed it should be I pushed a fix. I'm not sure I understand how to setup a test environment for your lib. |
please provide a unittest with mocks, we use |
I'm not familiar with mocking in Python. |
these are the classic unit tests: then you can see the |
I added support to set the default deployment repo name, that we need.
It's fixing issue #460