Skip to content

Instantly share code, notes, and snippets.

View ClifHouck's full-sized avatar
🏠
Working from home

Clif Houck ClifHouck

🏠
Working from home
View GitHub Profile
1340 if (kk) {
1341 if (kk == 0xff)
1342 printf("more than 508");
1343 else
1344 printf("%u", kk * 2);
1345 printf("min for ENHANCED SECURITY ERASE UNIT. ");
1346 }
[Oct29 12:18] usb 3-13: USB disconnect, device number 110
[ +0.443081] usb 3-13: new full-speed USB device number 111 using xhci_hcd
[ +0.165913] usb 3-13: New USB device found, idVendor=1532, idProduct=0037
[ +0.000006] usb 3-13: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ +0.000003] usb 3-13: Product: Razer DeathAdder 2013
[ +0.000003] usb 3-13: Manufacturer: Razer
[ +0.001832] input: Razer Razer DeathAdder 2013 as /devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.0/0003:1532:0037.02FA/input/input761
[ +0.000487] hid-generic 0003:1532:0037.02FA: input,hidraw5: USB HID v1.11 Mouse [Razer Razer DeathAdder 2013] on usb-0000:00:14.0-13/input0
[ +0.002098] input: Razer Razer DeathAdder 2013 as /devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.1/0003:1532:0037.02FB/input/input762
[ +0.050875] hid-generic 0003:1532:0037.02FB: input,hidraw6: USB HID v1.11 Keyboard [Razer Razer DeathAdder 2013] on usb-0000:00:14.0-13/input1
systemctl stop gdm
killall -9 gdm-x-session
killall -9 Xorg
rmmod nvidia_drm
rmmod nvidia_modeset
rmmod nvidia
modprobe nvidia
systemctl start gdm
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/clif/git_repos/mercury/src/mercury-common, inifile:
plugins: cov-2.4.0
collected 6 items
tests/unit/test_mercury_id.py ......
---------- coverage: platform linux2, python 2.7.13-final-0 ----------
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/clif/git_repos/mercury/src/mercury-common, inifile:
plugins: cov-2.4.0
collected 6 items
tests/unit/test_mercury_id.py ......
---------- coverage: platform linux2, python 2.7.13-final-0 ----------
Name Stmts Miss Cover Missing
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/clif/git_repos/mercury/src/mercury-common, inifile:
plugins: cov-2.4.0
collected 14 items
tests/unit/test_configuration.py ...
tests/unit/test_mercury_id.py ...
tests/unit/task_managers/base/test_manager.py .....
tests/unit/task_managers/base/test_worker.py ...
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/clif/git_repos/mercury/src/mercury-common, inifile:
plugins: cov-2.4.0
collected 5 items
tests/unit/misc/test_cpuinfo.py .....
---------- coverage: platform linux2, python 2.7.13-final-0 ----------
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/clif/git_repos/mercury/src/mercury-common, inifile:
plugins: cov-2.4.0
collected 3 items
tests/unit/misc/test_iproute2.py ...
---------- coverage: platform linux2, python 2.7.13-final-0 ----------
Name Stmts Miss Cover Missing
py27 develop-inst-nodeps: /home/clif/git_repos/mercury/src/mercury-common
py27 installed: appdirs==1.4.0,coverage==4.3.4,funcsigs==1.0.2,-e git+git@github.com:jr0d/mercury.git@c6f20e65268349b03c6e634a4c43d6cc49324b30#egg=mercury_common&subdirectory=src/mercury-common,mock==2.0.0,msgpack-python==0.4.8,packaging==16.8,pbr==1.10.0,py==1.4.32,pymongo==3.4.0,pyparsing==2.1.10,pytest==3.0.6,pytest-cov==2.4.0,PyYAML==3.12,pyzmq==16.0.2,redis==2.10.5,six==1.10.0
py27 runtests: PYTHONHASHSEED='4089726859'
py27 runtests: commands[0] | pytest --cov=mercury.common
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /home/clif/git_repos/mercury/src/mercury-common, inifile:
plugins: cov-2.4.0
collected 72 items
From 78b63f44ed1258f18fbdd03ffe80795b7d65534c Mon Sep 17 00:00:00 2001
From: Clif Houck <me@clifhouck.com>
Date: Tue, 28 Feb 2017 12:16:23 -0600
Subject: [PATCH] Complete coverage for mercury.client.base
---
src/mercury-client/tests/unit/client/test_base.py | 54 ++++++++++++++++++++++-
1 file changed, 52 insertions(+), 2 deletions(-)
diff --git a/src/mercury-client/tests/unit/client/test_base.py b/src/mercury-client/tests/unit/client/test_base.py