Revision 419fa6c4 kamaki/clients/test/pithos.py

b/kamaki/clients/test/pithos.py
750 750
            self.assertEqual(
751 751
                post.mock_calls[-1],
752 752
                call(update=True, groups={group: usernames}))
753

  
754
    def test_del_account_group(self):
755
        group = 'aU53rGr0up'
756
        with patch.object(PC, 'account_post', return_value=self.FR()) as post:
757
            self.client.del_account_group(group)
758
            self.assertEqual(
759
                post.mock_calls[-1],
760
                call(update=True, groups={group: []}))

Also available in: Unified diff