Skip to content

Commit

Permalink
Process's parent was changed to method in 802a74c
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Mar 31, 2015
1 parent 36919c5 commit 526d264
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def test_trace_application(self):

class ProcessMock(object):
def __init__(self, pid, name, create_time, files):
self.parent = None
self.pid = pid
self.files = files
self._name = name
Expand All @@ -48,6 +47,9 @@ def create_time(self):
def children(self):
return []

def parent(self):
return None


class AffectedProcessMock(AffectedProcess):
def __init__(self, pid=None):
Expand Down

0 comments on commit 526d264

Please sign in to comment.