'Test that the users belong to the correct site'

def test_people_belong_to_correct_site(self):

    master_siteppl = SitePeople.objects.get(site=self.master_site)
    slave_siteppl = SitePeople.objects.get(site=self.slave_site)
    master_siteppl.people.add(self.admin)
    master_siteppl.people.add(self.bobby)
    slave_siteppl.people.add(self.admin)
    slave_siteppl.people.add(self.bobby)
    self.assertEqual(master_siteppl.people.count(), 2)
    self.assertEqual(slave_siteppl.people.count(), 7)
    Profile.objects.create(username='testsite', password='test1')
    self.assertEqual(master_siteppl.people.count(), 2)
    self.assertEqual(slave_siteppl.people.count(), 8)
