diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-18 12:06:25 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-18 16:12:08 +0200 |
commit | fa3e2fc8bb3e935c65b7043382cad1d649cb68a6 (patch) | |
tree | 43962d7c9bac68b99c55881bf917ff3249fb2119 /source4/scripting/python/samba/tests/unicodenames.py | |
parent | 06435acf3b9afa94019f7654cda4ad9386c6384b (diff) | |
download | samba-fa3e2fc8bb3e935c65b7043382cad1d649cb68a6.tar.gz samba-fa3e2fc8bb3e935c65b7043382cad1d649cb68a6.tar.xz samba-fa3e2fc8bb3e935c65b7043382cad1d649cb68a6.zip |
selftest: Re-enable strings.py from source3/stf as a python subunit test
Diffstat (limited to 'source4/scripting/python/samba/tests/unicodenames.py')
-rw-r--r-- | source4/scripting/python/samba/tests/unicodenames.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/unicodenames.py b/source4/scripting/python/samba/tests/unicodenames.py new file mode 100644 index 00000000000..fa5d0efc8ca --- /dev/null +++ b/source4/scripting/python/samba/tests/unicodenames.py @@ -0,0 +1,31 @@ +#! /usr/bin/python + +# Copyright (C) 2003 by Martin Pool <mbp@samba.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see <http://www.gnu.org/licenses/>. + + +""" +Defines symbolic names for a few UNICODE characters, to make test +source code more readable on machines that don't have all the +necessary fonts. + +You can do "import *" on this file safely. +""" + +LATIN_CAPITAL_LETTER_N_WITH_TILDE = u'\u004e' +LATIN_CAPITAL_LETTER_O_WITH_DIARESIS = u'\u00d6' +LATIN_SMALL_LETTER_O_WITH_DIARESIS = u'\u00f6' + +KATAKANA_LETTER_A = u'\u30a2' |