From 4fc64ac04ffbec8e3a51ea3f7a129f17530ee3ef Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 24 Jun 2012 16:38:32 +1200 Subject: Enable anchors on command line. --- test/test_utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/test_utils.py') diff --git a/test/test_utils.py b/test/test_utils.py index 5cd0fd3d..72c892f0 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -3,10 +3,8 @@ import tutils def test_parse_anchor_spec(): - assert utils.parse_anchor_spec("foo=200", {}) == ("foo", "200") - tutils.raises(utils.AnchorError, utils.parse_anchor_spec, "foobar", {}) - tutils.raises(utils.AnchorError, utils.parse_anchor_spec, "*=200", {}) - tutils.raises(utils.AnchorError, utils.parse_anchor_spec, "foo=bar", {}) + assert utils.parse_anchor_spec("foo=200") == ("foo", "200") + assert utils.parse_anchor_spec("foo") == None def test_data_path(): -- cgit v1.2.3