Skip to content

test: move conftest.py to top-level, to cover tests/ also#414

Merged
OddBloke merged 2 commits into
canonical:masterfrom
OddBloke:tests
Jun 8, 2020
Merged

test: move conftest.py to top-level, to cover tests/ also#414
OddBloke merged 2 commits into
canonical:masterfrom
OddBloke:tests

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke commented Jun 5, 2020

This gives us a single conftest.py which is shared by all tests in the project.

(Also fix the one tests/ test which started failing due to subp usage.)

@paride
Copy link
Copy Markdown
Contributor

paride commented Jun 8, 2020

Mhh, how is it that Travis CI didn't run on this PR?

@OddBloke OddBloke closed this Jun 8, 2020
@OddBloke OddBloke reopened this Jun 8, 2020
@OddBloke OddBloke closed this Jun 8, 2020
@OddBloke OddBloke reopened this Jun 8, 2020
@paride
Copy link
Copy Markdown
Contributor

paride commented Jun 8, 2020

LGTM, but you'll have to merge :)

OddBloke added 2 commits June 8, 2020 16:33
And allow it to run bash.

(We aren't aiming to convert TestCase tests to pytest tests as a rule.
In this case, I needed to change its implementation to limit subp usage,
and I chose pytest over CiTestCase.)
This gives us a single conftest.py which is shared by all tests in the
project.
Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

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

Land ho!

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.

4 participants