@@ -173,8 +173,8 @@ def results(request):
173
173
_nodejs = fixtures_factory ('nodejs-semver-5.1.1-2.fc26' )
174
174
nodejs = fixtures_factory ('_nodejs' )
175
175
176
- _bucky = fixtures_factory ('python-bucky-2.2.2-9 .fc28' )
177
- bucky = fixtures_factory ('_bucky ' )
176
+ _pycallgraph = fixtures_factory ('python-pycallgraph-0.5.1-13 .fc28' )
177
+ pycallgraph = fixtures_factory ('_pycallgraph ' )
178
178
179
179
_jsonrpc = fixtures_factory ('jsonrpc-glib-3.27.4-1.fc28' )
180
180
jsonrpc = fixtures_factory ('_jsonrpc' )
@@ -185,7 +185,7 @@ def parametrize(*fixtrues):
185
185
186
186
187
187
@parametrize ('eric' , 'six' , 'admesh' , 'tracer' , 'copr' , 'epub' , 'twine' , 'yum' ,
188
- 'vdirsyncer' , 'docutils' , 'nodejs' , 'bucky ' , 'jsonrpc' )
188
+ 'vdirsyncer' , 'docutils' , 'nodejs' , 'pycallgraph ' , 'jsonrpc' )
189
189
def test_number_of_results (results , request ):
190
190
# getting a fixture by name
191
191
# https://github.com/pytest-dev/pytest/issues/349#issuecomment-112203541
@@ -195,7 +195,7 @@ def test_number_of_results(results, request):
195
195
assert len (results ) == 8
196
196
197
197
198
- @parametrize ('eric' , 'six' , 'admesh' , 'copr' , 'epub' , 'twine' , 'bucky ' )
198
+ @parametrize ('eric' , 'six' , 'admesh' , 'copr' , 'epub' , 'twine' , 'pycallgraph ' )
199
199
def test_two_three_passed (results , request ):
200
200
results = request .getfixturevalue (results )
201
201
assert results ['dist.python-versions.two_three' ].outcome == 'PASSED'
@@ -238,7 +238,7 @@ def test_artifact_contains_two_three_and_looks_as_expected(results, request):
238
238
''' ).strip ().format (result .item ) in artifact .strip ()
239
239
240
240
241
- @parametrize ('eric' , 'epub' , 'twine' , 'vdirsyncer' , 'bucky ' )
241
+ @parametrize ('eric' , 'epub' , 'twine' , 'vdirsyncer' , 'pycallgraph ' )
242
242
def test_naming_scheme_passed (results , request ):
243
243
results = request .getfixturevalue (results )
244
244
assert results ['dist.python-versions.naming_scheme' ].outcome == 'PASSED'
@@ -316,7 +316,7 @@ def test_requires_naming_scheme_contains_python(results, request):
316
316
317
317
318
318
@parametrize ('eric' , 'six' , 'admesh' , 'tracer' ,
319
- 'copr' , 'epub' , 'twine' , 'bucky ' )
319
+ 'copr' , 'epub' , 'twine' , 'pycallgraph ' )
320
320
def test_executables_passed (results , request ):
321
321
results = request .getfixturevalue (results )
322
322
task_result = results ['dist.python-versions.executables' ]
@@ -370,7 +370,7 @@ def test_unvesioned_shebangs_passed(results, request):
370
370
assert result .outcome == 'PASSED'
371
371
372
372
373
- @parametrize ('yum' , 'tracer' , 'bucky ' )
373
+ @parametrize ('yum' , 'tracer' , 'pycallgraph ' )
374
374
def test_unvesioned_shebangs_failed (results , request ):
375
375
results = request .getfixturevalue (results )
376
376
result = results ['dist.python-versions.unversioned_shebangs' ]
@@ -398,14 +398,14 @@ def test_artifact_contains_unversioned_shebangs_and_looks_as_expected(
398
398
""" ).strip () in artifact .strip ()
399
399
400
400
401
- @parametrize ('bucky ' )
401
+ @parametrize ('pycallgraph ' )
402
402
def test_unvesioned_shebangs_mangled_failed (results , request ):
403
403
results = request .getfixturevalue (results )
404
404
result = results ['dist.python-versions.unversioned_shebangs' ]
405
405
assert result .outcome == 'FAILED'
406
406
407
407
408
- @parametrize ('bucky ' )
408
+ @parametrize ('pycallgraph ' )
409
409
def test_artifact_contains_mangled_unversioned_shebangs_and_looks_as_expected (
410
410
results , request ):
411
411
results = request .getfixturevalue (results )
@@ -442,21 +442,21 @@ def test_py3_support_passed(results, request):
442
442
assert task_result .outcome == 'PASSED'
443
443
444
444
445
- @parametrize ('bucky ' )
445
+ @parametrize ('pycallgraph ' )
446
446
def test_py3_support_failed (results , request ):
447
447
results = request .getfixturevalue (results )
448
448
task_result = results ['dist.python-versions.py3_support' ]
449
449
assert task_result .outcome == 'FAILED'
450
450
451
451
452
- @parametrize ('bucky ' )
452
+ @parametrize ('pycallgraph ' )
453
453
def test_artifact_contains_py3_support_and_looks_as_expected (
454
454
results , request ):
455
455
"""Test that py3_support check fails if the package is mispackaged.
456
456
457
- NOTE: The test will start to fail as soon as python-bucky
457
+ NOTE: The test will start to fail as soon as python-pycallgraph
458
458
gets ported to Python 3 and its Bugzilla gets closed.
459
- See https://bugzilla.redhat.com/show_bug.cgi?id=1367012
459
+ See https://bugzilla.redhat.com/show_bug.cgi?id=1309383
460
460
"""
461
461
results = request .getfixturevalue (results )
462
462
result = results ['dist.python-versions.py3_support' ]
@@ -471,7 +471,7 @@ def test_artifact_contains_py3_support_and_looks_as_expected(
471
471
472
472
Software MUST be packaged for Python 3 if upstream supports it.
473
473
See the following Bugzilla:
474
- https://bugzilla.redhat.com/show_bug.cgi?id=1367012
474
+ https://bugzilla.redhat.com/show_bug.cgi?id=1309383
475
475
""" ).strip () in artifact .strip ()
476
476
477
477
0 commit comments