From 6cb364e1e1e247e4464600210140be2f5f2aa4fa Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 2 Jan 2018 09:05:38 +0100 Subject: Fix reporead test for new error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- devel/tests/test_reporead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/tests/test_reporead.py b/devel/tests/test_reporead.py index f86ab214..5aa3ceea 100644 --- a/devel/tests/test_reporead.py +++ b/devel/tests/test_reporead.py @@ -17,7 +17,7 @@ class RepoReadTest(TransactionTestCase): def test_invalid_args(self): with self.assertRaises(CommandError) as e: call_command('reporead') - self.assertIn('Architecture is required', str(e.exception)) + self.assertIn('missing arch and file.', str(e.exception)) with self.assertRaises(CommandError) as e: call_command('reporead', 'x86_64') -- cgit v1.2.3-55-g3dc8