This file contains 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
temp |
This file contains 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
Collecting attrdict | |
1 location(s) to search for versions of attrdict: | |
* https://pypi.python.org/simple/attrdict/ | |
Getting page https://pypi.python.org/simple/attrdict/ | |
Looking up "https://pypi.python.org/simple/attrdict/" in the cache | |
Current age based on date: 96 | |
Freshness lifetime from max-age: 600 | |
Freshness lifetime from request max-age: 600 | |
The response is "fresh", returning cached response | |
600 > 96 |
This file contains 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
C:\Users\ADCURZON\Desktop>virtualenv env | |
New python executable in C:\Users\ADCURZON\Desktop\env\Scripts\python.exe | |
Installing setuptools, pip, wheel...done. | |
C:\Users\ADCURZON\Desktop>env\Scripts\activate | |
(env) C:\Users\ADCURZON\Desktop>pip install -U setuptools==23.1.0 | |
Collecting setuptools==23.1.0 | |
Using cached setuptools-23.1.0-py2.py3-none-any.whl | |
Installing collected packages: setuptools |
This file contains 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
C:\Users\adcurzon\Desktop\hello_allpairs>py.test test_allpairs.py -v -l --capture=no | |
============================= test session starts ============================= | |
platform win32 -- Python 2.7.11, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 -- c:\python27\python.exe | |
cachedir: .cache | |
rootdir: C:\Users\adcurzon\Desktop\hello_allpairs, inifile: | |
plugins: bdd-2.16.1, cov-1.6, instafail-0.2.0, ordering-0.3, pep8-1.0.5, random-0.2, repeater-0.1.0, timeout-1.0.0, xdist-1.14, teamcity-messages-1.8 | |
collected 9 items | |
test_allpairs.py::test_foo[dodgers-2015-fenway park] PASSED | |
test_allpairs.py::test_foo[cubs-2016-fenway park] PASSED |
This file contains 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
curzona@curzona-desktop:~/Desktop/hello_pytest_xdist$ py.test -v -d --tx socket=xxx.xxx.xxx.xxx:8888 --rsyncdir=. | |
========================================== test session starts =========================================== | |
platform linux2 -- Python 2.7.9, pytest-2.9.0, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python | |
cachedir: .cache | |
rootdir: /home/curzona/Desktop/hello_pytest_xdist, inifile: pytest.ini | |
plugins: repeater-0.1.0, cov-2.1.0, xdist-1.12, bdd-2.16.0 | |
[gw0] win32 Python 2.7.11 cwd: C:\Users\temp\Desktop\pyexecnetcache | |
gw0 CINTERNALERROR> Traceback (most recent call last): | |
INTERNALERROR> File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py", line 92, in wrap_session | |
INTERNALERROR> config.hook.pytest_sessionstart(session=session) |
This file contains 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
#!/usr/bin/env python | |
import argparse | |
import re | |
def parse_args(args=None): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('input') | |
parser.add_argument('output') |
This file contains 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
import pywintypes | |
import win32api | |
#DISPLAY_DEVICE.StateFlags | |
DISPLAY_DEVICE_ACTIVE = 0x1 | |
DISPLAY_DEVICE_MULTI_DRIVER = 0x2 | |
DISPLAY_DEVICE_PRIMARY_DEVICE = 0x4 | |
DISPLAY_DEVICE_MIRRORING_DRIVER = 0x8 | |
DISPLAY_DEVICE_VGA_COMPATIBLE = 0x10 | |
DISPLAY_DEVICE_REMOVABLE = 0x20 |
This file contains 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
#!/usr/bin/env python | |
import argparse | |
import json | |
from collections import OrderedDict | |
def parse_args(args=None): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('input') | |
parser.add_argument('output') |
This file contains 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
#!/usr/bin/env python | |
import argparse | |
from xml.dom.minidom import parseString | |
def parse_args(args=None): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('input') | |
parser.add_argument('output') |
This file contains 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
Feature: Showing off behave | |
Scenario: Run a mind bogglingly complex test | |
Given we have behave installed | |
When we implement 5 tests | |
Then behave will test them for us! |
NewerOlder