Skip to content

Commit

Permalink
Merge pull request #34 from mirceaulinic/master
Browse files Browse the repository at this point in the history
Mock is_alive
  • Loading branch information
mirceaulinic authored Dec 6, 2016
2 parents 3f892a7 + 0b865d8 commit 40b0d37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(ir.req) for ir in install_reqs]

version = '0.31'
version = '0.32'

setup(
name='pyIOSXR',
Expand Down
3 changes: 3 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ def open(self):
self._cli_prompt = self.device.find_prompt()
self._enter_xml_mode()

def is_alive(self):
return True


class TestIOSXRDevice(unittest.TestCase):

Expand Down

0 comments on commit 40b0d37

Please sign in to comment.