【发布时间】:2010-06-19 19:08:09
【问题描述】:
我的 GAE 应用有一个单元测试:
def test_getNeighborhoodKeys_twoCourses(self):
cs1110, cs2110 = testutils.setUpSimpleCourses()
foo = getFooResult()
bar = getBarResult()
self.assertEquals(foo, bar) # fails
这是失败:
AssertionError: set([CS 1110: Untitled, CS 2110: Untitled]) != set([CS 2110: Untitled, CS 1110: Untitled])
在我看来,测试应该通过了。怎么了?
【问题讨论】:
标签: python google-app-engine unit-testing