Permalink
Browse files

added url to tests that were missing it

So they can all now be run against the host.url
config option--which means tests no longer
*have* to be run Admin Party mode and can be
used with any host or port.
  • Loading branch information...
1 parent 9712fd7 commit f3dc4a7ebc01fcc61a4082c1a6fed2072db774c3 @BigBlueHat BigBlueHat committed Dec 16, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 tests/test_cli.py
View
@@ -83,7 +83,7 @@ def testGenerate(self):
def testPush(self):
self._make_testapp()
(child_stdin, child_stdout, child_stderr) = \
- popen3("%s push -v my-app couchapp-test" % self.cmd)
+ popen3("%s push -v my-app %scouchapp-test" % (self.cmd, url))
design_doc = self._retrieve_ddoc()
@@ -120,7 +120,8 @@ def testPush(self):
def testPushNoAtomic(self):
self._make_testapp()
(child_stdin, child_stdout, child_stderr) = \
- popen3("%s push --no-atomic my-app couchapp-test" % self.cmd)
+ popen3("%s push --no-atomic my-app %scouchapp-test" % (self.cmd,
+ url))
design_doc = self._retrieve_ddoc()
@@ -158,7 +159,7 @@ def testPushNoAtomic(self):
def testClone(self):
self._make_testapp()
(child_stdin, child_stdout, child_stderr) = \
- popen3("%s push -v my-app couchapp-test" % self.cmd)
+ popen3("%s push -v my-app %scouchapp-test" % (self.cmd, url))
design_doc = self._retrieve_ddoc()

0 comments on commit f3dc4a7

Please sign in to comment.