From 8cbe2368455b5ab0b4bf90b0bfbc11b66eaed8a6 Mon Sep 17 00:00:00 2001 From: Bastian Gebhardt Date: Thu, 20 Aug 2015 00:23:33 +0200 Subject: [PATCH] Adding rule for trying to search using apt-get --- tests/rules/test_apt_get_search.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/rules/test_apt_get_search.py b/tests/rules/test_apt_get_search.py index febbce6..82f3d04 100644 --- a/tests/rules/test_apt_get_search.py +++ b/tests/rules/test_apt_get_search.py @@ -10,7 +10,12 @@ def test_match(): @pytest.mark.parametrize('command', [ Command('apt-cache search foo'), Command('aptitude search foo'), - Command('apt search foo') + Command('apt search foo'), + Command('apt-get install foo'), + Command('apt-get source foo'), + Command('apt-get clean'), + Command('apt-get remove'), + Command('apt-get update') ]) def test_not_match(command): assert not match(command, None)