[test/compat] compat_shlex_split: test with newlines

pull/8/head
Jaime Marquínez Ferrándiz 2016-06-29 18:54:30 +02:00 zatwierdzone przez Sergey M․
rodzic 9e29ef13a3
commit a9eede3913
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2C393E0F18A9236D
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -87,6 +87,7 @@ class TestCompat(unittest.TestCase):
def test_compat_shlex_split(self):
self.assertEqual(compat_shlex_split('-option "one two"'), ['-option', 'one two'])
self.assertEqual(compat_shlex_split('-option "one\ntwo" \n -flag'), ['-option', 'one\ntwo', '-flag'])
def test_compat_etree_fromstring(self):
xml = '''