Project

General

Profile

Bug #36704

tox tests broken after systemd fixes

Added by Alfredo Deza over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Current master broken with:

self = <test_main.TestMain object at 0x10c809310>, monkeypatch = <_pytest.monkeypatch.MonkeyPatch instance at 0x10c8119e0>

    def test_correct_command(self, monkeypatch):
        run = Capture()
>       monkeypatch.setattr(main.process, 'run', run)
E       AttributeError: 'function' object has no attribute 'process'

tests/systemd/test_main.py:44: AttributeError

Caused with the master fix for http://tracker.ceph.com/issues/36648
PR: https://github.com/ceph/ceph/pull/24840

History

Also available in: Atom PDF