From f2f252824cd0c62b4811d326a084966b824dcc5f Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Nov 27 2018 05:47:53 +0000 Subject: Fix update command related tests Signed-off-by: Chenxiong Qi --- diff --git a/test/test_cli.py b/test/test_cli.py index 46fa309..cc6f184 100644 --- a/test/test_cli.py +++ b/test/test_cli.py @@ -204,8 +204,8 @@ class TestUpdate(CliTestCase): unlink.assert_has_calls([ call('bodhi.template'), - call('clog') - ]) + call(os.path.join(cli.cmd.path, 'clog')) + ], any_order=True) with io.open('bodhi.template', encoding='utf-8') as f: bodhi_template = f.read()