Skip to content

Commit

Permalink
Set correct backend for verdi quicksetup test (#2954)
Browse files Browse the repository at this point in the history
The backend was set explicitly, as it should, but it used by accident the wrong
key, causing the command to silently use the default. This can lead to all sorts
of mysterious problems if the testing backend is not the same as the default.
  • Loading branch information
ltalirz authored and sphuber committed Jun 2, 2019
1 parent 9abc39d commit ee6ee71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida/backends/tests/cmdline/commands/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_quicksetup_from_config_file(self):
first_name: Leopold
last_name: Talirz
institution: EPFL
backend: {}
db_backend: {}
email: [email protected]""".format(self.backend))
handle.flush()
result = self.cli_runner.invoke(cmd_setup.quicksetup, ['--config', os.path.realpath(handle.name)])
Expand Down

0 comments on commit ee6ee71

Please sign in to comment.