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

Commit

Permalink
Fixed test merger
Browse files Browse the repository at this point in the history
  • Loading branch information
a5huynh committed Feb 12, 2016
1 parent 87e8c1b commit 91961b1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 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 17:06:28
# @Last Modified time: 2016-02-11 16:23:22
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', 'check_ip', 'vulcand'])
Args = namedtuple('Args', ['name', 'ip', 'check_ip', 'domain', 'vulcand', 'type'])


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

def setUp( self ):

self.args = Args( name='test', ip='localhost', check_ip='0.0.0.0', vulcand=False )
self.args = Args(
name='test',
ip='localhost',
check_ip='0.0.0.0',
domain='example.com',
vulcand=False,
type='http'
)

self.etcd_client = MockEtcd()

Expand Down

0 comments on commit 91961b1

Please sign in to comment.