diff options
author | Jurko Gospodnetić <jurko.gospodnetic@pke.hr> | 2017-12-01 13:28:39 +0100 |
---|---|---|
committer | Jurko Gospodnetić <jurko.gospodnetic@pke.hr> | 2017-12-09 13:34:56 +0100 |
commit | f0bfe9de3d957867c56a4b7b514226d992049c2a (patch) | |
tree | 6a7d9e3903156847dc2b5fc23e407ef87f2b6ef9 /testing/test_conftest.py | |
parent | 596937e610719fcaf7269959d8b20d49b6381c99 (diff) | |
download | pytest-f0bfe9de3d957867c56a4b7b514226d992049c2a.tar.gz |
shorten some test code
Diffstat (limited to 'testing/test_conftest.py')
-rw-r--r-- | testing/test_conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_conftest.py b/testing/test_conftest.py index c0411b723..dd54e0c5b 100644 --- a/testing/test_conftest.py +++ b/testing/test_conftest.py @@ -84,7 +84,7 @@ def test_conftest_in_nonpkg_with_init(tmpdir): def test_doubledash_considered(testdir): conf = testdir.mkdir("--option") - conf.join("conftest.py").ensure() + conf.ensure("conftest.py") conftest = PytestPluginManager() conftest_setinitial(conftest, [conf.basename, conf.basename]) values = conftest._getconftestmodules(conf) |