Commit Graph

15 Commits

Author SHA1 Message Date
Goutham Pacha Ravi d146a345c7 Drop 'clidoc' from sphinx extensions
Replace it with program-output from
sphinxcontrib-programoutput

Depends-On: https://review.openstack.org/595480
Change-Id: I9b14af568996cc1aaefaeb4d94fe36163c6cbbf2
2018-08-23 19:21:34 -07:00
junboli 73315f2a89 Switch to use stestr instead of testr
os-testr has moved over to use stestr instead of testr. While this
is usually compatible with existing settings, there is a warning
that is emitted when .stestr.conf is not present. It is usually
able to fall back to parsing the .testr.conf file, but to be more
correct and to prevent future problems we should update the config.

Change-Id: I10446c539aaf9edd8b52b17776e08c12757def31
Depends-On: I98a296d009e64d6afab02a53bd1af878f78c4321
2018-05-07 22:24:34 +08:00
zhiguo.li 32bdf52b9c [TrivialFix] Add three kinds of ignorable file to .gitignore
The files '.project', '.pydevproject' and derectory '.ropeproject' are
autogenerated by different IDE tools and they have nothing to do with
released code, so they should be ignored when commiting the modified
code.

According my experience, these three files are generated in following
ways:
1. '.project' is autogenerated when importing the package as a general
   project to Eclipse.
2. Use Eclipse with plugin PyDev, the '.pydevproject' is autogenerated
   when setting the package as PyDev project.
3. Use VIM with plugin Python-mode as an Python IDE(enable rope support),
   '.ropeproject' will be autogenerated under project's root directory.

Change-Id: If92bd5c00429ec1410a6a388e34ee9afc24ede1b
2017-10-10 14:21:20 +08:00
Tom Barron fd63aa41ef tests: use .stestr.conf except for functional tests
In this change [1] os_testr changed under the covers from using
testr to stestr, so that we now get the following warning:

 ostestr.py:120:
 UserWarning: No .stestr.conf file found in the CWD.
 Please create one to to replace the .testr.conf. You can find a
 script to do this in the stestr git repository.

So add .stestr.conf which was generated using a utility script
as documented here [2].  Leave .testr.conf since it is still
used by our functional tests.

[1] Id7cb2a39a8308f1413608dcf19273a1d7f33592e
[2] https://media.readthedocs.org/pdf/stestr/stable/stestr.pdf

TrivialFix

Change-Id: Iff31bd08aa03c5a2ba4e6800e4d57a4585ec51ab
2017-09-14 10:05:19 +00:00
Goutham Pacha Ravi 0b9a1dd83d Add support for releasenotes
Create the releasenotes directory and add the requisite
conf.py file to generate python-manilaclient's release notes.

project-config change: I522ba76263a6597026f6dd7b03ec51bb05bfb15a

Change-Id: I6b0fa6016781a252a71649a7cac85f02b0a019e8
2016-05-25 17:45:16 +00:00
Thomas Bechtold 4faae5a7b8 Add manila cli help output to doc
Dynamically generate the cli help output and include
it into the documentation.

Change-Id: Ib56c8b28272f955924c80f0a893de71a62fc5b49
2014-12-11 23:58:54 +01:00
vponomaryov 8760b9cde9 Implement functionality for functional tests using tempest-lib
Add generic functionality for functional tests using tempest-lib and
create related tox jobs.

Run of functional tests requires:

1) Access to deployed OpenStack with running, at least, Keystone and Manila
services.

2) Defined config options to be able to execute requests to Manila,
Manilaclient should know auth related information like username, password,
tenant_name, etc...

3) Run of functional tests searches for following optional env vars to be set:
'OS_MANILACLIENT_CONFIG_FILE' - name of conf file, default 'manilaclient.conf'
'OS_MANILACLIENT_CONFIG_DIR' - path to conf dir,
  default '%project_dir%/etc/manilaclient'
'OS_MANILA_EXEC_DIR' - path to dir with manilaclient executable,
  default '%project_dir%/.tox/functional/bin'

4) Config sample can be generated by following new tox job:
$ tox -egenconfig
it will create sample in
"%project_dir%/etc/manilaclient/manilaclient.conf.sample"
then just rename it removing ".sample" part and set option values.

To run functional tests use following new tox job:
$ tox -efunctional

To run only some specific tests use following:
$ tox -efunctional manilaclient.tests.functional.foo.bar

Partially implements blueprint functional-tests

Change-Id: I95a4e441d2143e51c54ec4fb47a069a91ed77dd7
2014-11-12 13:05:24 +02:00
vponomaryov 6266fc86c7 Add temp files of vim and cover tox job to .gitignore file
Without this change git considers temp files of vim and cover tox job as new
files, so add them to .gitignore.

Change-Id: Id1f7b2785b928dedd00f0848aad7ad81718699eb
2014-10-01 14:15:57 +03:00
Valeriy Ponomaryov 91ec888fd2 Add .venv and subunit.log to .gitignore
If we run unittests there are appear dir .venv and file subunit.log
So, add these files to gitignore.

Change-Id: I64c400d1333e12b87da7fcd2c64772964e3f1b3c
2014-09-09 11:07:56 +00:00
Valeriy Ponomaryov b0b4fd00a0 Add .testrepository to .gitignore
After run of unittests .testrepository dir appears,
it should be ignored by git.

Change-Id: Ie1c2254de64d91f537ad096dfa91b22a928f4929
2014-06-28 20:18:18 +00:00
Yulia Portnova 382ce9afff fixed pep8 2013-09-18 15:25:53 +03:00
Yulia Portnova d20a98e692 access allow test fixed 2013-09-17 16:22:28 +03:00
119Vik 60ae92833b log files added to gitignore 2013-09-10 04:05:45 -04:00
119Vik 175d76fa22 cleaned log files 2013-09-10 04:05:04 -04:00
Yulia Portnova 2d2bedf6b0 fixed service type 2013-09-05 13:14:29 +03:00