mirror of
https://github.com/rancher/os.git
synced 2025-09-04 16:21:07 +00:00
rename tests package to rostest
This commit is contained in:
@@ -2,7 +2,7 @@ from __future__ import print_function
|
|||||||
import itertools as it
|
import itertools as it
|
||||||
import pytest
|
import pytest
|
||||||
import subprocess
|
import subprocess
|
||||||
import rancherostest.util as u
|
import rostest.util as u
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="module")
|
@pytest.fixture(scope="module")
|
@@ -1,5 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
import rancherostest.util as u
|
import rostest.util as u
|
||||||
import string
|
import string
|
||||||
import subprocess
|
import subprocess
|
||||||
import yaml
|
import yaml
|
@@ -2,7 +2,7 @@ from __future__ import print_function
|
|||||||
import itertools as it
|
import itertools as it
|
||||||
import pytest
|
import pytest
|
||||||
import subprocess
|
import subprocess
|
||||||
import rancherostest.util as u
|
import rostest.util as u
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="module")
|
@pytest.fixture(scope="module")
|
@@ -1,5 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
import rancherostest.util as u
|
import rostest.util as u
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
@@ -1,5 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
import rancherostest.util as u
|
import rostest.util as u
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
@@ -1,5 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
import rancherostest.util as u
|
import rostest.util as u
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
@@ -4,7 +4,7 @@ setup(
|
|||||||
name='RancherOSIntegrationTests',
|
name='RancherOSIntegrationTests',
|
||||||
version='0.1',
|
version='0.1',
|
||||||
packages=[
|
packages=[
|
||||||
'rancherostest'
|
'rostest'
|
||||||
],
|
],
|
||||||
license='ASL 2.0',
|
license='ASL 2.0',
|
||||||
long_description=open('README.txt').read(),
|
long_description=open('README.txt').read(),
|
||||||
|
@@ -4,11 +4,11 @@ skipsdist=True
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=-rrequirements.txt
|
deps=-rrequirements.txt
|
||||||
commands=py.test -s --durations=20 rancherostest {posargs}
|
commands=py.test -s --durations=20 rostest {posargs}
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps=flake8
|
deps=flake8
|
||||||
commands=flake8 rancherostest
|
commands=flake8 rostest
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
|
Reference in New Issue
Block a user