Skip to content

Commit 014608d

Browse files
committed
Change API port for tests to run tests alongside with daemon
1 parent ccdd41d commit 014608d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ class TestAppConfig(AppConfig):
2222
def __init__(self, config_file):
2323
super(TestAppConfig, self).__init__(config_file)
2424
with self.update_context():
25+
# Run tests against a local server
2526
self.set('remote.host', 'localhost')
2627

28+
# Change default API port so that tests can be run alongside the daemon
29+
self.set('api.port', '28081')
30+
2731
class VaultTestCase(asynctest.TestCase):
2832
folder = None
2933

0 commit comments

Comments
 (0)