def test_notify_one_owner(self):
        requsting_user = mommy.make(User)
        group = mommy.make(Group)

        self.user1.add_to_group(group.pk)
        group.owners.add(self.user1)

        request = mommy.make(GroupRequest, user=requsting_user, group=group)
        notify_owners_of_group_request(request.pk)

        self.assertTrue(self.mocksysmessage.delay.called)

        call_args = self.mocksysmessage.delay.call_args[0]
        self.assertEqual(call_args[0], self.user1.pk)
        self.assertIn(str(group), call_args[1])
        self.assertIn(str(requsting_user), call_args[2])
        self.assertIn(settings.ORIGIN, call_args[2])
Ensure that maximize respects bars
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_tasks.py/NotifyOwnersOfGroupRequestTest.test_notify_one_owner--crossover with--dataset/ETHPy150Open qtile/qtile/test/test_fakescreen.py/test_maximize_with_move_to_screen