This patch set updates test-requirements.txt to use the latest versions
of hacking. There is no reason to cap the hacking version to 0.14, as
other OpenStack project such as ironic [0] has brought the minimum
hacking version to 1.0.0.
Closes-Bug: #174100
[0] 3700e7c6d5
Change-Id: I5254613678a096a5b8730cdb42af3545a63fe1a9
Signed-off-by: Tin Lam <tin@irrational.io>
This change migrates the testing suite from using ostestr and testr
to using stester. Also cleaned up a missing space from tox.ini.
Change-Id: I886401a1efce6cb617a4db7a90ec9454bbea1d71
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: Id2df62be0364a262ff4b0056ffb7a6b779cc2813
* Constants should be in caps
* Redundant ( ) in if statements
* Use isinstance instead of type ==
* Indentation
Change-Id: I79fda14112a9dd02fe867f6d850762216e0ca9a1
Allows a user to run tests in debug mode for bandit, which can be very
helpful. This requires oslotest as a dependency, which has been added
as a test requirement.
Change-Id: I1614ebf2afff87a1e9b6d66e0abaa7b203234afc
This patch adds the ability to output results in HTML format. It
currently doesn't support syntax highlighting due to fact that the Pygments
library is not in OpenStack's list of blessed requirements.
Change-Id: Ia9087a01856c1c743abba9fe4492130403b0f0d4
This adds documentation framework for Bandit. To build the new
documentation you can use the new tox target:
tox -e docs
This will spit out various formatted output into the docs/build
folder.
Change-Id: I3497e26052021900ad55ecdd2517198b22e82f0e
Partial-Bug: 1474796
Mock is used for get_module_from_path tests. This will ensure
it gets installed for testing purposes.
Change-Id: I31baa61a531b3018f19664a437fe05c0c8461e4d
This large change makes bandit into an installable packahge, needed
for tox testing. I have added the tox testing scaffolding but no
real tests, they will come in a later change. I have also disabled
all failing PEP8 test (lots) since I have changed enough stuff for
one patch. I'll start re-enabling and fixing PEP8 stuff soon.
Change-Id: I774ed9149f285e4e2bceacda0484a7e2a934a3aa