#78 Add tox configuration
Merged 5 years ago by lsedlar. Opened 5 years ago by lsedlar.
lsedlar/compose-utils tox  into  master

file modified
+13
@@ -13,6 +13,10 @@ 

  **compose-create-legacy-composeinfo**

      create ``.composeinfo`` file in legacy INI-style format

  

+ **compose-diff-rpms**

+     generate a difference in packages between two composes. This is a bit more

+     low-level than the changelog.

+ 

  **compose-has-build**

      check if a build with a given NVR is present in the compose

  
@@ -39,3 +43,12 @@ 

  -------------

  

  * `Pungi <https://pagure.io/pungi>`_ – a tool for generating composes

+ 

+ 

+ Contributing

+ ============

+ 

+ Feel free to open pull requests on Pagure.

+ 

+ Tests can be run by ``tox``. That should take care of all dependencies. Use

+ ``detox`` if you're in a hurry.

file modified
+14
@@ -1,3 +1,17 @@ 

+ [tox]

+ envlist=py27,py35,py36

+ 

+ [testenv]

+ deps=

+   nose

+   mock

+   freezegun

+   unittest2

+   koji

+   kobo

+ commands=

+   nosetests

+ 

  [flake8]

  exclude = doc,*.pyc,*.py~,*.in,*.spec,*.sh,*.rst

  filename = *.py

Running tests with that is much easier.

Pull-Request has been merged by lsedlar

5 years ago