From b14c29b25c4c5754edf568bcbb6bbf5b70b6c310 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 10 Feb 2012 15:04:20 +1300 Subject: Expand test coverage. --- test/test_encoding.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/test_encoding.py') diff --git a/test/test_encoding.py b/test/test_encoding.py index fe338da1..6ebe7172 100644 --- a/test/test_encoding.py +++ b/test/test_encoding.py @@ -7,6 +7,7 @@ class uidentity(libpry.AutoTree): def test_simple(self): assert "string" == encoding.decode("identity", "string") assert "string" == encoding.encode("identity", "string") + assert not encoding.encode("nonexistent", "string") def test_fallthrough(self): assert None == encoding.decode("nonexistent encoding", "string") -- cgit v1.2.3