def test_sysadmins_with_3_sysadmins(self):
        sysadmin_1 = factories.Sysadmin()
        sysadmin_2 = factories.Sysadmin()
        sysadmin_3 = factories.Sysadmin()

        assert _equal_unordered(
            plugin.sysadmins(),
            [sysadmin_1['id'], sysadmin_2['id'], sysadmin_3['id']])
    def test_sysadmins_with_1_sysadmin(self):
        sysadmin = factories.Sysadmin()

        assert plugin.sysadmins() == [sysadmin['id']]
 def test_sysadmins_with_0_sysadmins(self):
     assert plugin.sysadmins() == []