Skip to content

Conversation

shin-
Copy link
Contributor

@shin- shin- commented Nov 17, 2015

Ensure setup_module is called in each file, making the test suite
not order dependent.

Fixes #852

@shin- shin- self-assigned this Nov 17, 2015
@shin- shin- added this to the 1.6.0 milestone Nov 17, 2015
tests/helpers.py Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

I think if you use print(..., file=sys.stderr) with from __future__ import print_function you won't need the encoding.

@shin- shin- force-pushed the 852-independent-integration branch from c89705d to 6878fc2 Compare November 18, 2015 23:36
@shin-
Copy link
Contributor Author

shin- commented Nov 18, 2015

@dnephin Updated - should look better now.

@dnephin
Copy link
Contributor

dnephin commented Nov 18, 2015

looks like there is one flake8 failure, otherwise LGTM

Ensure setup_module is called at session level, making the test
suite not order dependent. Test files can be invoked independently.

Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
@shin- shin- force-pushed the 852-independent-integration branch from 6878fc2 to 73b5140 Compare November 18, 2015 23:41
shin- added a commit that referenced this pull request Nov 19, 2015
Move methods/classes used by all integration tests to helpers.py
@shin- shin- merged commit 1ca2bc5 into master Nov 19, 2015
@shin- shin- deleted the 852-independent-integration branch March 23, 2016 20:50
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.

2 participants