зеркало из https://github.com/mozilla/FlightDeck.git
fixing test
This commit is contained in:
Родитель
3ef2e5776e
Коммит
d47c9ec61c
|
@ -206,10 +206,14 @@ class PackageRevisionTest(TestCase):
|
|||
def test_adding_libs_with_common_dependency(self):
|
||||
# if B and C both depend on D, at the same version, then it should
|
||||
# be able to add both to A
|
||||
addon = Package(author=self.author, type='a').save()
|
||||
lib1 = Package(author=self.author, type='l').save()
|
||||
lib2 = Package(author=self.author, type='l').save()
|
||||
lib3 = Package(author=self.author, type='l').save()
|
||||
addon = Package(author=self.author, type='a')
|
||||
addon.save()
|
||||
lib1 = Package(author=self.author, type='l')
|
||||
lib1.save()
|
||||
lib2 = Package(author=self.author, type='l')
|
||||
lib2.save()
|
||||
lib3 = Package(author=self.author, type='l')
|
||||
lib3.save()
|
||||
|
||||
lib1.latest.dependency_add(lib3.latest)
|
||||
lib2.latest.dependency_add(lib3.latest)
|
||||
|
|
Загрузка…
Ссылка в новой задаче