summaryrefslogtreecommitdiff
path: root/test/test_command_line.py
Commit message (Collapse)AuthorAgeFilesLines
* Formatting changes to facilitate integration of "py3" patchset.milde2019-08-271-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8367 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Consistently use "utf-8" (not "utf8") in magic comment giving source encoding.milde2013-06-041-1/+1
| | | | | | | Fixes problems with Docutils installed in "virtualenv" https://sourceforge.net/p/docutils/patches/105/ git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7668 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* argv_encoding != sys.stdin.encodingmilde2011-12-051-5/+5
| | | | | | Thanks to Martin Bless for the report and tests. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7247 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fix encodings discrpancy in Windowsmilde2011-11-231-6/+16
| | | | | | | test_command_line now determines the encoding of the standard input the same way as docutils.core.process_command_line() git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7225 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix command line parsing with Python 3.milde2011-07-051-1/+6
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7070 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* command line test updatemilde2011-05-051-10/+6
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Simpler and more robust test of command line decoding.milde2011-04-121-24/+9
| | | | | | | Test `Publisher` class after modifying sys.argv instead of testing frontend. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7006 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* One more fix to the command line testmilde2011-04-091-3/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7005 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Let command line test work without installing Docutilsmilde2011-04-081-5/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7002 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix command line test.milde2011-04-011-21/+15
| | | | | | | | | | Decode output with "utf8" (Docutils standard output encoding). Compare only the first line of output, strip line ending (removes CR vs. LFCR issues). Thanks to Alan for testing on Windows. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@6998 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* test_argv_encoding: windows does not seem to accept ".." in command pathmilde2011-03-301-2/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@6997 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minor fixes for Python 3.1milde2011-01-031-10/+13
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@6509 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Explicitely close stdin of the test sub-process to prevent lock.milde2010-12-071-3/+6
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@6497 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Decode command line arguments with the locales preferred encoding.milde2010-11-291-0/+54
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@6487 929543f6-e4f2-0310-98a6-ba3bd3dd1d04