Commit Graph

11 Commits

Author SHA1 Message Date
Takashi NATSUME a7aee6481e Remove run_tests.sh
TrivialFix
Change-Id: Iee216bd7f28d72aacb9aecb0470ab833edbe5e2b
2017-07-28 12:42:04 +09:00
jichenjc 345469de68 Deprecate run_test.sh
per nova commint 2dc5d9f8632c83c9bc7ee6871c6631edf69a5570
indicated run_tests.sh should be deprecated to avoid confusion
to people and encourage usage of tox.

Change-Id: I23940b4da55226f6fa4504ed3839cc6620d0f579
2016-02-21 06:19:17 +08:00
Monty Taylor 9d4db6f740 Migrate to flake8.
Fixes bug 1172444.

Change-Id: I0d8faa0819738456a28aaf5cc859f510a2b3ed68
2013-05-25 08:22:39 +02:00
Andrew Laski d7f1a71311 Don't check build/ for pep8 violations
There's no need to run pep8 on the build dir, and it contains E502 false
positives due to some part of the build process adding line
continuations in places that they're not needed.

Change-Id: I7ea19aea2b9e46503aa8acc06ce6b9d7ea18113a
2013-03-25 16:57:06 -04:00
Kieran Spear 2eeab72aee Fix run_tests.sh --coverage
Looks like a couple of typos crept in here preventing coverage
generation.

Change-Id: I08a61a67dadc5dcd334f9f288d8ee6719d469ca1
2013-02-11 11:22:47 +11:00
Joe Gordon 96630b8248 Upgrade to pep8 1.3.3
Also expand scope of what is covered by pep8 test

Change-Id: Ifc8924914b5a0d625bc8df6442ee85eb21459cde
2013-02-01 12:24:19 -08:00
Monty Taylor 7b2097e706 Migrate from nose to testr.
Run tests with testr for parallel execution.

Part of blueprint grizzly-testtools.

Change-Id: I38e8a2df12678002e19264a53bad26e80265c6e4
2013-01-29 14:22:42 -06:00
Hengqing Hu 332f96e89b Remove trailing whitespaces in regular file
Change-Id: Iecc6fee3c8201541a42845db38874fd572fa2771
2012-03-03 12:36:31 +08:00
Rick Harris bb879dd10b Adding extension framework.
Change-Id: If882f7a822ef6b1e58666b3af6f7166ab0a230fe
2011-12-15 19:44:33 +00:00
Monty Taylor 1acbbb0c2d Align run_tests.sh with nova.
We need for run_tests.sh to accept the same inputs and outputs from a CI
perspective. In this case, the easiest way was just to port in run_test.py.
Additionally, we need with_venv.sh to exist.

Change-Id: I25e659ed796c8a70239aab610f5b014b35443b67
2011-12-14 10:31:42 -05:00
Christopher MacGown 39291fe0e8 Adds run_tests.sh and virtualenv support.
Basically make it so that a starting dev can run the tests without a
priori knowledge about what the tests require. Unless run_tests.sh is
run with the -N flag it will create a virtualenv .novaclient-venv,
install the dependencies into it, and then run the tests with the
venv sourced. Also includes the -p|--pep8 flag from nova's
run_tests.sh interface to easily run pep8 against both novaclient and
the tests directory.

Fix the pep8 violation in tests/v1_1/test_shell.py
2011-08-08 13:25:29 -07:00