diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-12 15:48:47 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-12 18:14:36 +0100 |
commit | 7890560b36b8f63d7692a35590f7b37282b5fa0b (patch) | |
tree | 5f79b224a8230e6e71ea33abf7362f9e900fb455 /testing/py3-inquirer/disable-failing-tests.patch | |
parent | 344e9aa9be28ce9534de4b347b889d598cc0c730 (diff) | |
download | aports-7890560b36b8f63d7692a35590f7b37282b5fa0b.tar.bz2 aports-7890560b36b8f63d7692a35590f7b37282b5fa0b.tar.xz |
testing/py3-inquirer: new aport
https://github.com/magmax/python-inquirer
A collection of common interactive command line user interfaces
Diffstat (limited to 'testing/py3-inquirer/disable-failing-tests.patch')
-rw-r--r-- | testing/py3-inquirer/disable-failing-tests.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-inquirer/disable-failing-tests.patch b/testing/py3-inquirer/disable-failing-tests.patch new file mode 100644 index 0000000000..e8f42b7d95 --- /dev/null +++ b/testing/py3-inquirer/disable-failing-tests.patch @@ -0,0 +1,27 @@ +https://github.com/magmax/python-inquirer/issues/84 +diff --git a/tests/acceptance/test_list.py b/tests/acceptance/test_list.py +index 82886e8..f6fa7e4 100644 +--- a/tests/acceptance/test_list.py ++++ b/tests/acceptance/test_list.py +@@ -39,21 +39,6 @@ class ListCarouselTest(unittest.TestCase): + import sys + self.sut.logfile = sys.stdout + +- def test_out_of_bounds_up(self): +- self.sut.send(key.UP) +- self.sut.expect('Standard.*', timeout=1) +- self.sut.send(key.ENTER) +- self.sut.expect("{'size': 'Standard'}.*", timeout=1) +- +- def test_out_of_bounds_down(self): +- for i in range(3): +- self.sut.send(key.DOWN) +- # Not looking at what we expect along the way, +- # let the last "expect" check that we got the right result +- self.sut.expect('>.*', timeout=1) +- self.sut.send(key.ENTER) +- self.sut.expect("{'size': 'Jumbo'}.*", timeout=1) +- + + class ListTaggedTest(unittest.TestCase): + def setUp(self): |