summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2016-05-03 20:17:12 -0700
committerSeth M Morton <seth.m.morton@gmail.com>2016-05-03 20:17:12 -0700
commit70a13171557b6f6a6d750dae08396e595234858d (patch)
tree4fffbaca719cfd51143a4135f61f79545c4b801a
parent9c1fdfe799380545e4091238c601da0299fc4383 (diff)
downloadnatsort-70a13171557b6f6a6d750dae08396e595234858d.tar.gz
Clarified post_string_parse_function tests.
-rw-r--r--test_natsort/test_post_string_parse_function.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test_natsort/test_post_string_parse_function.py b/test_natsort/test_post_string_parse_function.py
index 0d6b433..26dd1e7 100644
--- a/test_natsort/test_post_string_parse_function.py
+++ b/test_natsort/test_post_string_parse_function.py
@@ -30,6 +30,9 @@ def test_post_string_parse_function_with_iterable_returns_tuple_with_no_options_
@given(text())
def test_post_string_parse_function_with_iterable_returns_tuple_with_no_options(x):
assert _post_string_parse_function(0, '')(iter([x]), '') == (x, )
+ # UNGROUPLETTERS without LOCALE does nothing, as does LOCALE without UNGROUPLETTERS
+ assert _post_string_parse_function(ns.UNGROUPLETTERS, '')(iter([x]), '') == _post_string_parse_function(0, '')(iter([x]), '')
+ assert _post_string_parse_function(ns.LOCALE, '')(iter([x]), '') == _post_string_parse_function(0, '')(iter([x]), '')
def test_post_string_parse_function_with_empty_tuple_returns_double_empty_tuple():