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

Commit

Permalink
Move vulcand tests to backends folder
Browse files Browse the repository at this point in the history
  • Loading branch information
a5huynh committed Feb 12, 2016
1 parent 4406260 commit 7ef9c85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Empty file added tests/backends/__init__.py
Empty file.
12 changes: 6 additions & 6 deletions tests/test_vulcand.py → tests/backends/test_vulcand.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @Author: ahuynh
# @Date: 2016-02-11 14:28:02
# @Last Modified by: ahuynh
# @Last Modified time: 2016-02-11 14:49:02
# @Last Modified time: 2016-02-11 15:33:08
import unittest

from sidekick import announce_services, find_matching_container, parse_args
Expand All @@ -19,7 +19,7 @@ def setUp( self ):
'--name', 'test',
'--ip', 'localhost',
'--check-ip', '0.0.0.0',
'--vulcand'
'--vulcand', 'True'
])

self.etcd_client = MockEtcd()
Expand All @@ -40,7 +40,7 @@ def setUp( self ):
'Status': 'Up 2 days'
}

def test_announce_services( self ):
""" Test `announce_services` functionality """
services = find_matching_container( [ self.container ], self.args )
announce_services( services.items(), 'test', self.etcd_client, 0, 0, True )
def test_vulcand_announce( self ):
""" Test `announce_services` functionality """
services = find_matching_container( [ self.container ], self.args )
announce_services( services.items(), 'test', self.etcd_client, 0, 0, True )

0 comments on commit 7ef9c85

Please sign in to comment.