Skip to content
Snippets Groups Projects
Commit 2b3e6fda authored by Erik Reid's avatar Erik Reid
Browse files

fixed assumption about tmp file path format

parent 72b40ed0
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ def test_otrs_exports(data_config_filename, data_config, mocker): ...@@ -33,7 +33,7 @@ def test_otrs_exports(data_config_filename, data_config, mocker):
args, kwargs = mocked_run.call_args args, kwargs = mocked_run.call_args
called_with = args[0] called_with = args[0]
t = r'^rsync -aP --rsh="ssh -l {user} -p 22 -i {key_file} -o \'UserKnownHostsFile {known_hosts}\'" /\w+/\w+/\* {destination}$' # noqa t = r'^rsync -aP --rsh="ssh -l {user} -p 22 -i {key_file} -o \'UserKnownHostsFile {known_hosts}\'" /\S+/\* {destination}$' # noqa
p = t.format( p = t.format(
user=otrs_config['username'], user=otrs_config['username'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment