I hereby claim:
- I am elyezer on github.
- I am elyezer (https://keybase.io/elyezer) on keybase.
- I have a public key ASAXJ1HBwswA7eejf4hwjdLnSjnoZjpjgOM9q53o_2lhngo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# | |
# For each file found by `find`, generate a entry on the toctree in | |
# `docs/api.rst`. | |
# | |
# NOTE: This script should be run from the repository docs directory. That is, | |
# this script should be run from this script's ../docs directory. | |
set -euo pipefail |
Create the .saucelabs
file with the Sauce Labs credentials. More info here http://pytest-selenium.readthedocs.io/en/latest/user_guide.html#sauce-labs.
$ py.test --driver saucelabs --capability browserName chrome camayoc/tests/qcs/ui/test_login.py
.\" Man page generated from reStructuredText. | |
. | |
.TH "BETELGEUSE" "1" "Sep 14, 2017" "0.12.0" "Betelgeuse" | |
.SH NAME | |
betelgeuse \- Betelgeuse Documentation | |
. | |
.nr rst2man-indent-level 0 | |
. | |
.de1 rstReportMargin | |
\\$1 \\n[an-margin] |
diff --git a/rho/scancommand.py b/rho/scancommand.py | |
index f222c92..7fe446e 100644 | |
--- a/rho/scancommand.py | |
+++ b/rho/scancommand.py | |
@@ -491,13 +491,23 @@ class ScanCommand(CliCommand): | |
ansible_vars = {'facts_to_collect': self.facts_to_collect, | |
'report_path': report_path} | |
- playbook = utilities.PLAYBOOK_DEV_PATH | |
- if not os.path.isfile(playbook): |
help: | |
@echo "Please use \`make <target>' where <target> is one of:" | |
@echo " help to show this message" | |
@echo " all to to execute test-coverage and lint" | |
@echo " docs-clean to remove documentation" | |
@echo " docs-html to generate HTML documentation" | |
@echo " install to install in editable mode" | |
@echo " install-dev to install in editable modeplus the dev packages" | |
@echo " lint to run flake8" | |
@echo " package to generate installable Python packages" |
- name: Create nodepool group. | |
group: | |
name: nodepool | |
- name: Create nodepool user. | |
user: | |
createhome: yes | |
group: nodepool | |
home: /var/lib/nodepool | |
name: nodepool |
I hereby claim:
To claim this, I am signing this object:
# coding=utf-8 | |
"""Play around with warning suppression behaviour. | |
The standard library's unittest test runner prepends the following rules to | |
``warnings.filters`` before a test method executes: | |
.. code-block:: python | |
('module', re.compile('Please use assert\\w+ instead.', re.IGNORECASE), <class 'DeprecationWarning'>, re.compile(''), 0), | |
('default', None, <class 'Warning'>, None, 0), |
import os | |
import re | |
import textwrap | |
def edit_expected_results(): | |
for dirpath, _, filenames in os.walk('tests/foreman'): | |
for filename in filenames: | |
path = os.path.join(dirpath, filename) | |
if path.endswith('.py') and '__init__.py' not in path: |