Skip to content
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

fix tempfile handling #183

Merged
merged 1 commit into from May 7, 2021
Merged

Conversation

jscotka
Copy link
Collaborator

@jscotka jscotka commented May 6, 2021

No description provided.



class TempFile(ObjectStorage):
class mktemp(Simple):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this name needed? Can we use Python's UperCamelCase class naming style?

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@jscotka jscotka force-pushed the tempfile branch 2 times, most recently from b0c9690 to 1a7379d Compare May 6, 2021 15:28
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@jscotka jscotka force-pushed the tempfile branch 2 times, most recently from 642b7ce to c2ed8bb Compare May 7, 2021 05:46
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@jscotka jscotka added high-prio High priority. mergeit When set, zuul wil gate and merge the PR. labels May 7, 2021
Copy link
Member

@lachmanfrantisek lachmanfrantisek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines -31 to -36
def cassette_teardown(self, cassette: Cassette):
self.assertIn(
"tests.test_modules_decorate_all_methods.ApplyCommonCase.test_git.yaml",
str(cassette.storage_file),
)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you are removing it?

Isn't there a problem with the new name?

    def cassette_teardown(self, cassette: Cassette):
        self.assertIn(
            "ApplyCommonCase.test_git.yaml",
            str(cassette.storage_file),
        )

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I've removed it, because it failed :-) but I can let check there for sure

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 6efa15b into packit:main May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-prio High priority. mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants