61
61
self.factory.makeBinaryPackagePublishingHistory(
62
62
binarypackagerelease=bpr, distroarchseries=das)
63
63
dsp = spr.distrosourcepackage
65
66
expected_token = '%s-%s' % (dsp.distribution.name, dsp.name)
66
67
self.assertEqual(expected_token, term.token)
67
68
self.assertEqual(', '.join(expected_names), term.value)
69
70
def test_searchForTerms_None(self):
70
71
# Searching for nothing gets you that.
72
75
self.assertIs(None, results)
74
77
def assertTermsEqual(self, expected, actual):