Created
December 9, 2017 23:27
-
-
Save Kalimaha/b63efcb509ae688b0bc1efa51373e171 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class GrillChefPactHelper(PactHelper): | |
| test_port = 8080 | |
| process = None | |
| def setup(self): | |
| cmd = 'gunicorn start:app -w 3 -b :8080 --log-level error' | |
| self.process = subprocess.Popen(cmd, shell=True) | |
| def tear_down(self): | |
| self.process.kill() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment