Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Add check_ip into mock args
Browse files Browse the repository at this point in the history
  • Loading branch information
a5huynh committed Jun 19, 2015
1 parent e8fc3d3 commit c48b421
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_sidekick.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# @Author: ahuynh
# @Date: 2015-06-18 20:15:30
# @Last Modified by: ahuynh
# @Last Modified time: 2015-06-19 13:19:26
# @Last Modified time: 2015-06-19 13:58:46
import unittest

from collections import namedtuple
from sidekick import announce_services, check_name, find_matching_container
from sidekick import check_health, public_ports

# Used to test command line arguments
Args = namedtuple('Args', ['name', 'ip'])
Args = namedtuple('Args', ['name', 'ip', 'check_ip'])


class MockEtcd( object ):
Expand All @@ -26,7 +26,7 @@ class TestSidekick( unittest.TestCase ):

def setUp( self ):

self.args = Args( name='test', ip='localhost' )
self.args = Args( name='test', ip='localhost', check_ip='0.0.0.0' )

self.etcd_client = MockEtcd()

Expand Down

0 comments on commit c48b421

Please sign in to comment.