Refresh current connection when toggling autodecode.

Also fix the unit tests I forgot to commit...
This commit is contained in:
Aldo Cortesi
2011-08-02 20:47:53 +12:00
parent 8cc0469ee7
commit a817db5bd6
3 changed files with 6 additions and 6 deletions

View File

@@ -10,8 +10,7 @@ class uidentity(libpry.AutoTree):
assert "string" == encoding.encode("identity", "string")
def test_fallthrough(self):
assert "string" == encoding.decode("nonexistent encoding", "string")
assert "string" == encoding.encode("nonexistent encoding", "string")
assert None == encoding.decode("nonexistent encoding", "string")
class ugzip(libpry.AutoTree):
def test_simple(self):