From 95623d39d6029ba78ec96ad5ea08e9ac12629b91 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Mon, 3 Aug 2020 18:43:13 -0300 Subject: New upstream version 2.11 --- test/t/test_crontab.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/t/test_crontab.py') diff --git a/test/t/test_crontab.py b/test/t/test_crontab.py index 098fd9e0..a476694c 100644 --- a/test/t/test_crontab.py +++ b/test/t/test_crontab.py @@ -5,3 +5,12 @@ class TestCrontab: @pytest.mark.complete("crontab ") def test_1(self, completion): assert completion + + @pytest.mark.complete("crontab -l -") + def test_only_u_with_l(self, completion): + assert completion == "u" + + @pytest.mark.complete("crontab -r -") + def test_no_l_with_r(self, completion): + assert completion + assert "-l" not in completion -- cgit v1.2.1