def assertFlattensTo(self, root, target):
        d = flattenString(None, root)
        d.addCallback(lambda s: self.assertEqual(s, target))
        return d
Figure out which version of Django's test suite we have to play with.
dataset/ETHPy150Open twisted/twisted/twisted/web/test/_util.py/FlattenTestCase.assertFlattensTo--crossover with--dataset/ETHPy150Open ramusus/django-twitter-api/quicktest.py/QuickDjangoTest.get_test_version