فهرست منبع

switch from nosetests to pytest (#49)

* switch to pytest

* install pytest

* add pytest (until we write a decent readme)
justheuristic 5 سال پیش
والد
کامیت
f7566acce2
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 2 2
      .circleci/config.yml
  2. 1 1
      requirements.txt

+ 2 - 2
.circleci/config.yml

@@ -10,13 +10,13 @@ jobs:
       - checkout
       - python/load-cache
       - python/install-deps
-      - run: sudo pip install codecov
+      - run: sudo pip install codecov pytest
       - python/save-cache
       - run:
           command: sudo python setup.py develop
           name: setup
       - run:
-          command: nosetests tests/*
+          command: pytest ./tests --full-trace
           name: tests
       - run:
           command: python tests/benchmark_throughput.py --preset minimalistic

+ 1 - 1
requirements.txt

@@ -5,4 +5,4 @@ requests>=2.22.0
 tqdm
 rpcudp>=4.0.0
 prefetch_generator>=1.0.1
-nose>=1.3.0
+pytest