Rename rtv to tuir

This commit is contained in:
John Helmert
2019-06-09 19:31:35 -05:00
parent 481780fffa
commit 7e9455b4ca
76 changed files with 352 additions and 359 deletions

View File

@@ -5,7 +5,7 @@ Contributor Guidelines
Before you start
================
- Post an issue on the `tracker <https://gitlab.com/ajak/rtv/issues>`_ describing the bug or feature you would like to add
- Post an issue on the `tracker <https://gitlab.com/ajak/tuir/issues>`_ describing the bug or feature you would like to add
- If an issue already exists, leave a comment to let others know that you intend to work on it
Considerations
@@ -70,36 +70,36 @@ This both speeds up the tests and helps to maintain consistency across runs.
.. code-block:: bash
$ pip install rtv[test]
$ pip install tuir[test]
2. Set your ``$PYTHONPATH`` to point to the directory of your RTV repository.
2. Set your ``$PYTHONPATH`` to point to the directory of your TUIR repository.
.. code-block:: bash
$ export PYTHONPATH=~/code/rtv/
$ export PYTHONPATH=~/code/tuir/
3. Run the tests using the existing cassettes
.. code-block:: bash
$ python -m pytest ~/code/rtv/tests/
$ python -m pytest ~/code/tuir/tests/
================================ test session starts ================================
platform linux -- Python 3.4.0, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: ~/code/rtv/, inifile:
rootdir: ~/code/tuir/, inifile:
plugins: xdist-1.14, cov-2.2.0
collected 113 items
4. By default, the cassettes will act as read-only.
If you have written a new test and would like to record a cassette, you must provide your own refresh token.
The easiest thing to do is to use the token generated by RTV when you log in.
This is usually stored as *~/.local/share/rtv/refresh-token*.
The easiest thing to do is to use the token generated by TUIR when you log in.
This is usually stored as *~/.local/share/tuir/refresh-token*.
.. code-block:: bash
$ python -m pytest ~/code/rtv/tests/ --record-mode once --refresh-token ~/.local/share/rtv/refresh-token
$ python -m pytest ~/code/tuir/tests/ --record-mode once --refresh-token ~/.local/share/tuir/refresh-token
================================ test session starts ================================
platform linux -- Python 3.4.0, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: ~/code/rtv/, inifile:
rootdir: ~/code/tuir/, inifile:
plugins: xdist-1.14, cov-2.2.0
collected 113 items