Exemple #1
0
 def test_top_package_owners(self):
     owners = Stats.top_package_owners()
     owners = [(owner.name, count) for owner, count in owners]
     assert_equal(owners, [('bob', 4)])
Exemple #2
0
 def test_top_package_owners(self):
     owners = Stats.top_package_owners()
     owners = [(owner.name, count) for owner, count in owners]
     # Only 2 shown because one of them was deleted and the other one is private
     assert_equal(owners, [('bob', 2)])
Exemple #3
0
 def test_top_package_owners(self):
     owners = Stats.top_package_owners()
     owners = [(owner.name, count) for owner, count in owners]
     # Only 2 shown because one of them was deleted and the other one is private
     assert_equal(owners, [('bob', 2)])
Exemple #4
0
 def test_top_package_owners(self):
     owners = Stats.top_package_owners()
     owners = [(owner.name, count) for owner, count in owners]
     assert_equal(owners, [('bob', 4)])