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

Disable new testLoadGlob when OMERODIR not set #140

Merged
merged 2 commits into from Dec 4, 2019

Conversation

manics
Copy link
Member

@manics manics commented Dec 4, 2019

#14 and #137 overlapped so were not tested together.

@manics manics changed the title Set OMERODIR=tmp in tox tests Disable new testLoadGlob when OMERODIR not set Dec 4, 2019
@joshmoore
Copy link
Member

Merging proactively so we can get other PRs green, but I think a test method (additional or otherwise) that either doesn't require OMERODIR to be set (using version, etc) or creates its own OMERODIR would be appropriate.

@joshmoore joshmoore merged commit e07e5b6 into ome:master Dec 4, 2019
@manics
Copy link
Member Author

manics commented Dec 4, 2019

I tried that, it was reverted in d1f4dc2 because OMERODIR needs to be set before importing the CLI.

@manics manics deleted the test-omerodir branch December 4, 2019 13:45
@joshmoore
Copy link
Member

Not sure if that should be considered a bug, but you can also reset the value:

self.ctx.dir = NEW_OMERODIR

@manics manics mentioned this pull request Dec 4, 2019
@joshmoore joshmoore added this to the 5.6.0 milestone Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants