-
Notifications
You must be signed in to change notification settings - Fork 10
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
Create ProductInfo.for_testing(klass)
factory
#62
Comments
nfx
added a commit
that referenced
this issue
Mar 9, 2024
When you're integration testing your [installations](#installation), you may want to have different [installation folders](#install-folder) for each test execution. `ProductInfo.for_testing(klass)` helps you with this: ```python from ... import ConfigurationClass from databricks.labs.blueprint.wheels import ProductInfo first = ProductInfo.for_testing(ConfigurationClass) second = ProductInfo.for_testing(ConfigurationClass) assert first.product_name() != second.product_name() ``` Fix #62
nfx
added a commit
that referenced
this issue
Mar 9, 2024
When you're integration testing your [installations](#installation), you may want to have different [installation folders](#install-folder) for each test execution. `ProductInfo.for_testing(klass)` helps you with this: ```python from ... import ConfigurationClass from databricks.labs.blueprint.wheels import ProductInfo first = ProductInfo.for_testing(ConfigurationClass) second = ProductInfo.for_testing(ConfigurationClass) assert first.product_name() != second.product_name() ``` Fix #62
nfx
added a commit
that referenced
this issue
Mar 9, 2024
When you're integration testing your [installations](#installation), you may want to have different [installation folders](#install-folder) for each test execution. `ProductInfo.for_testing(klass)` helps you with this: ```python from ... import ConfigurationClass from databricks.labs.blueprint.wheels import ProductInfo first = ProductInfo.for_testing(ConfigurationClass) second = ProductInfo.for_testing(ConfigurationClass) assert first.product_name() != second.product_name() ``` Fix #62
nfx
added a commit
that referenced
this issue
Mar 9, 2024
When you're integration testing your [installations](#installation), you may want to have different [installation folders](#install-folder) for each test execution. `ProductInfo.for_testing(klass)` helps you with this: ```python from ... import ConfigurationClass from databricks.labs.blueprint.wheels import ProductInfo first = ProductInfo.for_testing(ConfigurationClass) second = ProductInfo.for_testing(ConfigurationClass) assert first.product_name() != second.product_name() ``` Fix #62
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
at the moment, it's a bit cumbersome to do
The text was updated successfully, but these errors were encountered: