Commit Graph

116 Commits

Author SHA1 Message Date
Radomir Dopieralski 36536272ff Add pytest-based selenium tests
This is a patch to start work on re-writing the integration tests
using pytest syntax and several improvements, as proposed on the
upstream meeting, and summarized at https://etherpad.opendev.org/p/horizon-pytest

The new tests are to eventually replace the existing integration
tests. At the moment they don't run automatically, you have to explicitly run them using tox or pytest. When the new tests are complete, we will switch to them on the gate.



Change-Id: Iea38e4f9771ff3cae7ae8675863e9c488f3f6d8a
2023-08-08 11:45:20 +00:00
Jim Rollenhagen 1202faa709 Fix coverage job
`coverage run pytest` runs coverage against the tests in a file called
"pytest", whereas `coverage run -m pytest` uses pytest as the test
runner, which is what we really want here.

To avoid duplicated maitenance of pytest arguments,
unit_tests.sh is updated to handle the coverage run.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I106cb5227ca8c4f0a6f9d81c37e745a6f304de45
2020-10-05 15:32:06 +09:00
Akihiro Motoki 2327c543a3 Update plugin registry
Victoria-1 milestone passed and release deliverable files are settled,
so it is time to update the plugin registry.

* adjutant-ui has the first release in Ussuri
* congress-dashboard repository has been retiried
  along with congress project retirement.
* neutron-fwaas-dashboard master branch was removed
  along with neutron-fwaas master removal from neutron.

Special entry for mistral-dashboard in list-horizon-plugins.py
is no longer needed as the corresponding release deliverable file
has been fixed.

Change-Id: I3a48552da67329511f84994f7ee2be4fcecab374
2020-06-26 07:43:39 +00:00
Hervé Beraud 17d8ab6103 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: Ic03754dcaaa4f1c0018294aa52bb05d956aa5d10
2020-06-03 10:45:18 +02:00
Akihiro Motoki 218ee6bcce Refactor tools/unit_tests.sh
unit_tests.sh has a lot of duplicated statements.
This commits introduces run_test function to clarify the differences.

selenium_tests.sh is also updated to clarify which positional
arguments are used. Direct usage of $1, $2 is not easy to understand.

Change-Id: Ie13f0a804968d548b3c13b0d87daa745dd2ad040
2020-04-26 20:39:10 +09:00
Akihiro Motoki ccaaf8cbb9 Fix regressions in unit_tests.sh during pytest mirgation
The pytest migration patch introduced a couple of regression in
tools/unit_tests.sh:

* We no longer cannot run a specific test explicitly
  (per python file, per test class, per specific test).
  Per module like openstack_dashboard, openstack_auth and horizon
  is the only possible way after the pytest migration.
* openstack_dashboard tests outside of openstack_dashboard/test/
  are not looked up when a subset is specified.

This commit restores the orginal behavior.

pytest uses a different way to specify tests.
We cannot use the style of python modules like
"openstack_auth.tests.unit.test_policy.PolicyLoaderTestCase.test_policy_file_load"
and we need to specify tests like file paths [1].

[1] https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests

Closes-Bug: #1875123
Change-Id: Ic4b6c69d8a2ed774cce16521c4c4336f55ff737e
2020-04-26 20:39:10 +09:00
Oleksii Petrenko d6fe0170ee Change horizon test runner to pytest
Changes test invocation from `manage.py test` to `pytest`. Adds addtitional
test requirements like pytest, pytest-django, pytest-html. Adds
`pytest.mark` alongside django's test `tag`. Adds posibility to export test
results into xml and html formats.

Depends-On: https://review.opendev.org/#/c/712315/
Related-Bug: #1866666
Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: Idb6e63cd23ca2ba8ca56f36eb8b63069bd211944
2020-04-03 13:47:18 +03:00
Ivan Kolodyazhny 14adb00bb0 Remove unused tools/gate/integration/* files
These files are not needed anyomre since we migrated to
ansible-based job configuration.

Change-Id: I701cba4b3271aebc6a5b48ce209cec51c2a773a9
2020-03-10 19:19:12 +00:00
Akihiro Motoki cd80207d09 Generate plugin registry based on releases repo
The plugin registry is maintained manually, so it tends to be out-of-date.
The deliverble files in openstack/releases repository provide information
on repositories and bug trackers. It sounds reasonable to me to generate
the plugin registry based on infomration in the openstack/releases repo.

The script added picks up deliverables marked as horizon-plugin.
mistral-dashboard and networking-bgpvpn dashboard are released in
different ways, so they are handled specially in the script.

How to run:
  ./tools/list-horizon-plugins.py \
      --csv-file plugin-registry.csv \
      ../releases ussuri

Note that this commit does not autogenerate the plugin registry.
The script still needs to be run manually.
Further automation would be the next step.

Note that bug trackers of senlin-dashboard and trove-dashboard in
the releases repo looks out-of-date. I will submit a fix for them soon.

The downside of the automation is that we cannot list non-official
horizon plugins but I believe it is a good compromise.
The only non-offical plugin listed now is the group-based-policy UI,
but it is questionable whether it is still maintained well.

Change-Id: Id56be13fb93c6dc123e7cfb1c906357cdf59732b
2019-12-23 18:43:24 +09:00
gaofei fba4a12889 Change py27integration to integration.
Change py27integration to integration, since py27integration no longer
exist.

Change-Id: I35b40766a1e11b9973c44558545bc9d3491578a1
2019-12-04 08:23:46 +08:00
ZhongShengping a569f0faf3 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I7f5506455ed52e4670b8e428548e931db13b13db
2019-04-24 12:25:40 +08:00
Radomir Dopieralski d7d6c0577c Add a upgrade_check management command
This command checks the configuration for invalid and deprecated
settings, as described in
https://governance.openstack.org/tc/goals/stein/upgrade-checkers.html

There is also a script in tools/find_settings.py that scans all python
files for the potential new settings, which is supposed to make it
easier to update the lists that the checks use.

Change-Id: Ie85cf4be3da1ab446c10883a4580e20ea154b67c
Story: 2003657
Task: 26132
2019-03-01 15:43:13 +01:00
Akihiro Motoki a69ba853a7 UT: Run test_plugins as separate process
This commit changes to run test_plugins in a separate process.

test_plugins touches urlpatterns and Site registry during setUp(),
but the cleanup process in tearDown does not recover urlpatterns correctly.
After tests under test_plugins run, the urlpatterns continues to have
entries of test panels and this leads to NoReverseMatch error when
rendering other panels after that.

I investigated details in setUp/tearDown of PluginTestCase but failed
to find a good solution to recover urlpatterns and Horizon Site registry.
As a workaround, runnig test_plugins in a separate process can avoid
the issue.

Closes-Bug: #1809983
Change-Id: I848f6b341b3f93ed055955b2b12d2497811edc5a
2019-01-31 21:29:29 +09:00
Akihiro Motoki 898997badf Fix a bug that horizon UT failure is ignored
Previously UT succeeds even if horizon UT fails.

Change-Id: Id5a08a3877b50fc582145ee74dc1c88cfb3fbba9
2018-12-23 08:53:24 +09:00
Ivan Kolodyazhny 1f80d94459 Use default Django test runner instead of nose
Nose has been in maintenance mode for the past several years. It has
issue with exit code [1] which leads to false positive results for our
seleniun-headless job.

This patch changes test runner for Horizon tests and does the following
things:

* Django test runner  executes test in a different order than Nose does.
  That's why we've got an issue with side-effect in
  horizon.tests.unit.tables.test_tables.MyToggleAction class. This patch
  adds workaround to it.
* Rename filename of test files to names starting with 'test_'
  so that the django test runner can find tests expectedly.
* '--with-html-output' option is temporary dropped and will be added in
  a following patch.
* Integraion tests is marked via django.test.tag mechanism which is
  introduced in Django 1.10
* 'selenium-headless' is broken now because we don't have geckodriver on
  gates, this patch makes it non-voting.
* 'tox -e cover' is fixed
* Remove @memorized decorator from
  dashboards.project.images.images.tables.filter_tenant_ids function.

[1] https://github.com/nose-devs/nose/issues/984

Depends-On: https://review.openstack.org/572095
Depends-On: https://review.openstack.org/572124
Depends-On: https://review.openstack.org/572390
Depends-On: https://review.openstack.org/572391

Related blueprint: improve-horizon-testing
Change-Id: I7fb2fd7dd40f301ea822154b9809a9a07610c507
2018-06-08 15:21:12 +03:00
Ivan Kolodyazhny 0c39d76e8a Make tests output more verbose
Added '--verbosity 2' to print list of executed and skipped tests to the
console.

Related blueprint: improve-horizon-testing
Change-Id: Ibdc4016bb1f8b7145a78b0f0bfc693741b6a123e
2018-04-05 10:44:05 +00:00
Shu Muto e598695718 Ignore node_modules from test target
Files in node_modules directory are not target for test.
So we should ignore them.

Change-Id: I3b259c7df21660e61fcb55633c82bdd83d791a3d
2018-01-24 17:29:14 +09:00
Zuul e646964a9b Merge "Tools to check policy differences" 2018-01-03 23:32:58 +00:00
Akihiro Motoki 6c45c47e4b Drop unnecessary executable flags
This patch also adds checks for executable files in
pep8 job.

nose ignores executable files by default, so it is important
to ensure executable flag is not set for test files [1].
openstack_dashboard/test/test_plugins/panel_tests.py was not
tested actually and it was broken. This commit fixes it too.
[1] http://nose.readthedocs.io/en/latest/usage.html#cmdoption-exe

Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: I3a124fa2f9f0676b2b43a094e32e3d8b18fa6005
2017-12-27 21:32:48 +00:00
Akihiro Motoki 69aff8b8ac Tools to check policy differences
Change-Id: I3c6a43f4d31ce517950bd93474e88317367fa8b0
2017-12-20 00:28:23 +09:00
Akihiro Motoki eac3e7032a Drop Heat related code from horizon
Orchestration tab in the admin info panel needs a discussion.
It seems not to be covered by heat-dashboard yet.

blueprint heat-dashboard-split-out

Change-Id: I56e6edb1f2ac72e2f42d0e9f3291308e67f24cad
2017-12-05 07:38:55 +00:00
Rob Cresswell e3e5812b19 Add Django OpenStack Auth to Horizon
Moves Django OpenStack Auth content to Horizon, since they are so
tightly coupled. This cleans up the development workflow and should
make keystone / auth related contributions easier.

Implements: blueprint merge-openstack-auth
Change-Id: Ia1cdc47bad1ca6e633073a9f9445b0c7f70d05bc
2017-09-27 12:06:57 +01:00
Rob Cresswell 6529cd1eb8 Remove run_tests.sh
Change-Id: I9892b6c07c6392e534aad0391722727c7ca3e879
2017-08-15 10:38:19 +00:00
adrian-turjak 280848c55f Ensure tox registers failures properly
Tox runs tests via unit_tests.sh which when not
running a test subset will mean tox only checks for
the final exit code. This means horizon test failues
will not be seen by tox unless openstack_dashboard
tests also fail.

This change forces an exit code which !=0 if either
test run fails.

Change-Id: I8fbcb834d9817e7eea1b2c39fc4caab6004b981b
2017-07-29 00:10:22 +12:00
Akihiro Motoki 61091388e9 hacking: noqa cleanup in horizon
attribute-level imports are not checked by hacking module now.
most noqa is used to disable warnings on attribute-level imports.
This commit drops noqa for this purpose.

After this, there are 8 noqa under horizon/ :)

In addition to this, the following changes are made.

horizon/exceptions.py: The following imports are dropped.
They are not used anywhere.
  from django.http import HttpRequest
  from django.views.debug import CLEANSED_SUBSTITUTE

horizon/forms/__init__.py:
Some entries were missing in __all__. They are added.

Change-Id: I33b504ef6c396f0675e8a340867e2ca59c77c684
2017-03-17 19:38:47 +00:00
Rob Cresswell 36d1d1ac68 Refactor tox & update docs
- Updated tox envlist, so just running `tox` from the CLI will now run all
voting gate tests

- Reduce duplicated definitions and commands

- Remove any reliance on run_tests within tox

- Removes all doc references to run_tests.sh, and replaces them
with their tox equivalent. Where necessary, language around the tox
commands has been altered or extended so that it makes sense and is
consistent with other parts of the docs. Also adds a new "Test Environment"
list to the docs, so that newcomers do not have to piece together CLI
commands and their cryptic extensions from tox.ini

- Move the inline shell scripting to its own file. Also fixes a bug when
passing args, since the logic assumed you were attempting a subset test
run (try `tox -e py27 -- --pdb` on master to compare)

- Moved translation tooling from run_tests to manage.py, w/ help text
and arg restrictions. This is much more flexible so that plugins can use
it without having to copy commands, but still defaults to exactly the
same parameters/behaviour from run_tests. Docs updated appropriately.

- Removed npm/karma strange reliance on either .venv or tox/py27. Now
it only uses tox/npm.

Change-Id: I883f885bd424955d39ddcfde5ba396a88cfc041e
Implements: blueprint enhance-tox
Closes-Bug: 1638672
2016-11-30 20:38:59 +00:00
Tony Breeds a909ed26c2 Add constraints support to run_tests.sh
Currently developers need to manually build a constratined venv if they
want to  match the versions that are tested in the gate.  This change
adds logic to run_tests.sh and install_venv*.py to default to the same
constraints file used in the gate.

With constraints enabled the 'churn' in the environment should be
minimised so remove the developer optimisation for detecting when
packaged versions change and always just install/update.  This has the
down side of making the script preamble slightly longer but we always
print_help() so I don't think it'll be terribly inconvenient.

Change-Id: I9bf85adb5aa2c85d8c0f0f22ac9efe5cac3646c0
Closes-Bug: 1644697
2016-11-28 11:06:07 +11:00
Timur Sufiev 2fec0a1ae8 Fix the collection of integration tests artifacts
Don't rely on a particular workspace name, as it changes when job's
name changes.

Depends-On: I28d84235fb51a49492ed9c96794ba74f317f66b6
Change-Id: I63e45ee89711b429d0d878303aefeec4b159125a
Closes-Bug: #1625253
2016-09-20 20:56:41 +00:00
Matt Borland 75427ad7f9 Pre-test hook for integration tests/deprecated
We want to allow for integration tests to test deprecated panels.  This
means that we need to override the configurations provided by the panels
and force a 'legacy' setting.

On the Infra side, we need to pass in an environment variable that tells this
override to be enabled.

Depends-On: I20232ef16ae60a7151e267b506af471ebfed2f7f
Change-Id: If5a3e273098aa726e12f9076c0273a5afaf233d2
Partially-Implements: blueprint test-deprecated-features
2016-08-11 07:26:34 -06:00
Timur Sufiev 6f17650a3a Hotfix the issue with too new Firefox version
which Selenium WebDriver cannot connect to.

Partial-Bug: 1590939
Change-Id: Ide1de4638b9c8b3e0ec1d34f7c044e8a96cc5890
2016-06-09 20:04:06 +00:00
Sergei Chipiga d63f93a819 Implement video capture for failed tests
Example of video recording Idd218e09c0f8df8ec7740173d5f2d856b8baafa1

Change-Id: I350950095f840f63638175b09ed083109aada2da
Closes-Bug: #1585092
2016-06-07 13:09:47 +03:00
Jenkins 64bbb52261 Merge "Attach test logs individually for each test" 2016-04-25 18:19:48 +00:00
Sergei Chipiga 4619696ec4 Attach test logs individually for each test
Reports-Example: Ic35c95e720211bce8659baeb0cd4470308e25ea4

Change-Id: Ie5d972d2a560d4f59666c49dc3bf22fdb48071e8
Depends-On: I124973d9adbaaacf5d3429e6f6684f15de27dc7f
Closes-Bug: #1572999
2016-04-25 14:30:49 +03:00
Sergei Chipiga 79fcc65491 Fix pre_test_hook fail and sidebar menu fail
It fixes two small but important bugs:
- remove apache restart, because it fails pre_test_hook, which fails
  test build (the latter implication was introduced recently in a
  devstack-gate scripts);
- fix sidebar menu item click before prev item was collapsed, because
  in this case menu item won't be expanded (supposedly a result of
  recent update of one of XStatic dependencies).

Change-Id: If463c4c8b16b54f033e2a2ee33ba995ca7844f2b
Closes-Bug: #1573726
2016-04-22 18:21:58 +00:00
TatyanaGladysheva eda58de3f6 Added test for check stacks creation and deletion functionality
Test checks that create/delete stacks actions are executed without
errors under admin user.
Stacks page object was defined similar to other pages.

Few other modifications I've made:
* horizon.conf - service_available section with new heat option
* stack template is added as separate file

Depends-On: I1f5dc1220aee39103289a579583095346cce0354
Implements blueprint: horizon-integration-tests-coverage
Change-Id: Ibc549f9ae4eac17d8e92d65afe1c5cee9be6e72e
2016-04-20 11:14:02 +03:00
Mark Vanderwiel 1976cb902d Add trace to integration gate scripts
The set -x enabled line-by-line tracing within a bash
script. This makes it easier to follow gate logs.

Change-Id: I7a164cf94f661929d96f2c3d41ec0d2ad1530e32
2016-03-18 11:44:32 -05:00
Rob Cresswell 2843ce3c0a Enable Angular Launch Instance by default
This patch enables the Angular Launch Instance workflow by default. The
toggle has been maintained for those running the Python workflow, and
also for the integration tests to run against both simultaneously.

Keep integration tests running for a legacy Launch Instance workflow
by means of a separate local_settings.d code snippet activated before
starting the tests.

Co-Authored-By: Timur Sufiev <tsufiev@mirantis.com>
Change-Id: Id0c57b33df46397711e32092cec6cc5268841779
Implements: blueprint enable-angular-launch-instance
2016-03-03 17:40:35 +00:00
Timur Sufiev af00c8588d Place exports for dsvm-integration job into a separate file
This will allow us to modify devstack environment of a
dsvm-integration job independently of infra repository, once
https://review.openstack.org/#/c/269578/ is merged. This is a
preparation to integration testing of Heat-enabled panel in Horizon,
since Heat is disabled in Devstack by default.

Change-Id: Id9ab8e846c33921e1c55e459056345c8d14204fd
2016-01-22 17:40:27 +00:00
Timur Sufiev 16cc3cd5cb Provide integration test_hooks to be used in gate job
Using scripts inside horizon repo in test hooks we could not bother
infra folks each time when we need to do some change to test job.

The second part of the proposed change is to run these scripts at gate,
see https://review.openstack.org/#/c/263457/

Related-Bug: #1526791
Change-Id: Ic2d60df846e876530662046d75c3e56e7841ba30
2016-01-11 13:47:00 +03:00
Lucas Palm 642aa9a351 Corrected spelling errors throughout the project
While browsing through the Horizon repository, I came across a
few spelling errors that need correction.

Change-Id: I593e9f04ea5d9f3985a14fb994b745243468387a
Closes-Bug: #1511532
2015-10-29 16:18:49 -05:00
Neill Cox 9b36822fe2 Angular translation via babel (singular only)
An approach to i18n for Angular HTML templates using babel. This patch
allows only singular translation. Plurals and context will be
addressed in subsequent patches.

Based on Thai Tran's work at https://review.openstack.org/#/c/187321

This patch implements a custom extractor in
horizon/utils/babel_extract_angular.py. pybabel really wants this to be
a package installed into site-packages. I have not done this so as to
avoid introducing a dependency on another change to global requirements
just yet. I will upload a package to pypi in parallel so that we can
start using it in the future.

For now, I have had to modify tools/with_venv.sh to add horizon to the
PYTHONPATH. This is less than ideal but seemed to be the least worst
option.

Steps to verify that it works:
1. Create a new html file in horizon/static or openstack_dashboard/static
2. Add something like <div translate>hello world!</div> to the html
   To test interpolation add something like:
     <div translate>hello {$name$}!</div>
3. Run ./run_tests.sh --makemessages
4. Inspect your djangojs.po file, it should be there.

The following steps are optional:
5. Run ./run_tests.sh --pseudo de
6. Run ./run_tests.sh --compilemessages
7. Go to http://localhost:8000/settings
8. Change Language to Deutsch
9. Go to http://localhost:8000/i18n/js/horizon+openstack_dashboard
10. Your translated text should be there as well.

Note: There are now unit tests as well.

Partially-Implements: blueprint angular-translate-makemessages
Depends on: If4352aba01ce0ca6337f590c0689d8fe9f0867c8

Change-Id: I26d4fef8646d5f038918cd3376dbbdbef37eb603
2015-07-02 11:13:45 +10:00
David Lyle 2037fdabc0 Adding review clean up script
This is modeled after the nova script to do the same thing.

Removes reviews over 4 weeks old that are either failing Jenkins
or have a -2.

Change-Id: I636738c873c1b64ba1aa24fd7643b2fac9b1975b
2015-01-27 08:56:21 -07:00
Doug Fish faae8b86fa Pseudo translation tool
A tool to allow pseudo translations to be created in order to identify
potential translation problems. To use the tool:
Make sure your English file is up to date:
./run_tests.sh --makemessages

Run the pseudo tool to create pseudo translations:
./run_tests.sh --pseudo de

Compile the catalog:
./run_tests.sh --compilemessages

Run your dev server. Log in and change to the language you pseudo translated.
It should look weird. More specifically, every translatable string is going
to start and end with a bracket and they are going to have some added
characters. For example, "Log In" will become "[~Log In~您好яшçあ]"
This is useful because you can inspect for the following:
- If you see a string in English it's not translatable. Should it be?
- If you see brackets next to each other that might be concatenation.
- If there is unexpected wrapping/truncation there might not be enough
  space for translations
- If you see a string in the proper translated language, it comes from an
  external source. (That's not bad, just sometimes useful to know)
- If you get new crashes, there is probably a bug. :-)

Implements blueprint: pseudo-translation-tool

Change-Id: If97754c2d4234b12b3d73616ff60527f6ad82d55
2015-01-20 13:08:26 -06:00
James E. Blair 5b302877fc Remove requirements style check
This is incorrect and should never have been added.  The order of
lines in requirements files affects the pip dependency resolver.
Therefore, while it's nice to add new packages in alphabetical
order, it must not be required.

Move pbr to the top of the list as it should always be installed
first.  Move hacking to the top of the test-requires list.

Change-Id: I81f7e75b77baccd12d9660dc009f30f2f2c891bc
2014-07-08 09:50:14 -07:00
Akihiro Motoki 21b7822f9b Sync latest Oslo
Sync from oslo-incubator commit 46f2b697b6aacc674bc040a8751997ed70490d1a

Major changes of the import are related to update policy module:
0da5de6b54 Allow policy.json resource vs constant check
5d1f15a778 Documenting policy.json syntax
33533b0d97 Keystone user can't perform revoke_token

Most changes are style-related topics:
* Improve Python3 compatibility
* Remove vim modelines
* Support Per-log-level logging translations

Closes-Bug: #1296337
Change-Id: I09f61b10b1b36015d248de25c5c6ed994717a565
2014-04-05 23:36:07 +09:00
ChenZheng 4d6238ceb4 Sort requirement files in alphabetical order
This makes code more readable, and can check whether specific library
in the requirement files easily. We enforce the check in pep8, We also
add the tools for checking requirements.txt and test_requirements.txt.

Change-Id: Ia0a24553b7a5204faf6413c17dae6ba6aae2b5e8
Closes-Bug: #1285478
2014-03-03 10:00:37 +08:00
Akihiro MOTOKI 7a0581bb70 Import install_venv from oslo
The new version of install_venv_common evaluates requirements.txt
and test-requirements.txt at the same time and we avoid Django 1.6
is installed when evaluating django-nose dependencies.

Change-Id: I2ab7108b3615ac6c0525089b81b80e5c0a4793fc
Closes-Bug: #1250581
2013-11-13 03:34:42 +09:00
Zhenguo Niu f7a03abc1f Enclose command args in with_venv.sh
It will support argument with blanks.

Change-Id: I4e40cdd2be67c2f306ce53f297b7a830730d1bc7
Fixes: bug #1220937
2013-09-09 14:21:41 +08:00
Monty Taylor e8b3360038 Sync install_venv_common from oslo
Change-Id: Iadcfa6d00b963a19ce15300b2293036cf0e8204b
2013-08-08 12:42:29 -03:00
Jiri Tomasek 5b24518b10 Renames tools/pip-requires to requirements.txt
and tools/test-requires to test-requirements.txt

These are standard files and tools in the
general world are growing intelligence about them.

Change-Id: Iac3c680dd19cabd8ea38598a6e2bb27238030a2d
Fixes: bug #1179008
2013-05-29 12:07:35 +02:00