Skip to content

Commit

Permalink
Merge pull request #51 from levi-rs/Add-download-counter-badge
Browse files Browse the repository at this point in the history
Update README.rst
  • Loading branch information
levi-rs committed Feb 13, 2019
2 parents 955e7d1 + 99f5cbd commit 5cafbb4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.rst
@@ -1,7 +1,7 @@
TRAW: TestRail API Wrapper
==========================

|PyPIVersion| |TravisCI| |CoverageStatus| |CodeHealth| |PythonVersions|
|PyPIVersion| |TravisCI| |CoverageStatus| |CodeHealth| |PythonVersions| |PyPIDownloads|

.. |TravisCI| image:: https://travis-ci.org/levi-rs/traw.svg?branch=master
:target: https://travis-ci.org/levi-rs/traw
Expand All @@ -13,6 +13,9 @@ TRAW: TestRail API Wrapper
:target: https://badge.fury.io/py/traw
.. |PythonVersions| image:: https://img.shields.io/pypi/pyversions/traw.svg
:target: https://wiki.python.org/moin/Python2orPython3
.. |PyPIDownloads| image:: https://pepy.tech/badge/traw/month
:target: https://pepy.tech/project/traw


(This project is now in beta testing: APIs will not change without a deprecation warning)

Expand Down
10 changes: 5 additions & 5 deletions tests/models/test_project.py
Expand Up @@ -162,19 +162,19 @@ def test_show_announcement_set_exc(empty_proj):

def test_suite_mode_get(empty_proj, in_progress_proj, complete_proj):
assert empty_proj.suite_mode is None
assert in_progress_proj.suite_mode is 1
assert complete_proj.suite_mode is 2
assert in_progress_proj.suite_mode == 1
assert complete_proj.suite_mode == 2


def test_suite_mode_set(empty_proj, in_progress_proj, complete_proj):
empty_proj.suite_mode = 2
assert empty_proj.suite_mode is 2
assert empty_proj.suite_mode == 2

in_progress_proj.suite_mode = 3
assert in_progress_proj.suite_mode is 3
assert in_progress_proj.suite_mode == 3

complete_proj.suite_mode = 1
assert complete_proj.suite_mode is 1
assert complete_proj.suite_mode == 1


def test_suite_mode_typeerror_exc(empty_proj):
Expand Down

0 comments on commit 5cafbb4

Please sign in to comment.