Project

General

Profile

Bug #36704

tox tests broken after systemd fixes

Added by Alfredo Deza about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/05/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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