Skip to content

Commit

Permalink
Fix tests after some support of interpreted apps
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Nov 3, 2016
1 parent ab84137 commit f7d67cd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/test_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_trace_affected(self):
self.assertIsInstance(affected, ApplicationsCollection)

def test_trace_application(self):
affected = self.tracer.trace_application("baz", AffectedProcessMock)
affected = self.tracer.trace_application(Applications.find("baz"), AffectedProcessMock)
self.assertIsInstance(affected, AffectedProcessesCollection)
self.assertEqual(len(affected), 1)

Expand All @@ -41,6 +41,14 @@ def __init__(self, pid, name, create_time, files):
def name(self):
return self._name

@property
def real_name(self):
return self._name

@property
def is_interpreted(self):
return False

def create_time(self):
return self._create_time

Expand Down

0 comments on commit f7d67cd

Please sign in to comment.