Clean whitespaces in README and code indentation

Remove note about installing `nose` when not needed.

Change-Id: I2824f6ff89e72a5b3d80cb3cbfc8edf56dbabdcf
This commit is contained in:
Dobroslaw Zybort 2017-05-15 11:30:09 +02:00
parent 57f7dcfcf4
commit 4eb1b94349
1 changed files with 9 additions and 8 deletions

View File

@ -19,7 +19,6 @@ Currently the devstack environment is needed to run the tests. Instructions on s
``` ```
pip install -r requirements.txt -r test-requirements.txt pip install -r requirements.txt -r test-requirements.txt
pip install nose
``` ```
4. Create ```etc/tempest.conf``` in the Tempest root dir by running the following command: 4. Create ```etc/tempest.conf``` in the Tempest root dir by running the following command:
@ -47,7 +46,6 @@ Currently the devstack environment is needed to run the tests. Instructions on s
admin_username = admin admin_username = admin
admin_password = secretadmin admin_password = secretadmin
admin_domain_name = Default admin_domain_name = Default
``` ```
Edit the variable values in the identity section to match your particular environment. Edit the variable values in the identity section to match your particular environment.
@ -89,7 +87,6 @@ The Monasca Tempest Tests can be run using a variety of methods including:
``` ```
testr list-tests monasca_tempest_tests > monasca_tempest_tests testr list-tests monasca_tempest_tests > monasca_tempest_tests
``` ```
3. Run the tests using testr: 3. Run the tests using testr:
@ -122,6 +119,11 @@ entry point for running Tempest tests.
## Running/Debugging the Monasca Tempest Tests in PyCharm ## Running/Debugging the Monasca Tempest Tests in PyCharm
You need to install `nose` for running tests from PyCharm:
```
pip install nose
```
Assuming that you have already created a PyCharm project for the ```monasca-api``` do the following: Assuming that you have already created a PyCharm project for the ```monasca-api``` do the following:
1. In PyCharm, Edit Configurations and add a new Python tests configuration by selecting Python tests->Nosetests. 1. In PyCharm, Edit Configurations and add a new Python tests configuration by selecting Python tests->Nosetests.
@ -146,7 +148,6 @@ Assuming that you have already created a PyCharm project for the ```monasca-api`
``` ```
pip install -r requirements.txt -r test-requirements.txt pip install -r requirements.txt -r test-requirements.txt
pip install nose
``` ```
3. If you want to test changes in monasca-api code on your local machine, change directory to monasca-api and install the latest monasca-api code: 3. If you want to test changes in monasca-api code on your local machine, change directory to monasca-api and install the latest monasca-api code: