Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopold Talirz authored and sphuber committed Oct 31, 2022
1 parent c1ce66e commit 006e476
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/cmdline/commands/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ def test_quicksetup_wrong_port(self):

self.cli_runner(cmd_setup.quicksetup, options, raises=True)

# test
config = configuration.get_config()
assert config.get_option('autofill.user.email', scope=None) == user_email

def test_setup(self):
"""Test `verdi setup` (non-interactive)."""
postgres = Postgres(interactive=False, quiet=True, dbinfo=self.pg_test.dsn)
Expand Down

0 comments on commit 006e476

Please sign in to comment.