Commit df936d75 authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb: Fix copy-paste thinko in PyStateful tests

The code here is testing t.zodb.MyObject class, not unknown.
parent 6372c7a4
...@@ -115,7 +115,7 @@ func TestPersistent(t *testing.T) { ...@@ -115,7 +115,7 @@ func TestPersistent(t *testing.T) {
xobj = newGhost("t.zodb.MyObject", 11, nil) xobj = newGhost("t.zodb.MyObject", 11, nil)
obj, ok := xobj.(*MyObject) obj, ok := xobj.(*MyObject)
if !ok { if !ok {
t.Fatalf("unknown -> %T; want Broken", xobj) t.Fatalf("t.zodb.MyObject -> %T; want MyObject", xobj)
} }
checkObj(obj, nil, 11, InvalidTid, GHOST, 0, nil) checkObj(obj, nil, 11, InvalidTid, GHOST, 0, nil)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment