def test_will_delete_merged_on_remote(self):
        """
        With the list of refs, will delete these from the remote.

        This test makes assertion against the remote, not the clone repository.
        We are testing to see if the interactions in the cloned repo are pushed
        through to the remote.

        Note that accessing the repository directly does not include the
        symbolic reference of HEAD.
        """
        remote = self.repo

        # Get a list of branches on this remote
        before = [i.name for i in remote.refs]
        # Should be 5 branches + master
        self.assertEqual(6, len(before))

        # Delete through the clone which pushes to this remote
        pushes = self.deleter.remove_remote_refs(
            self.merged_refs(refobjs=True))

        # Make sure it removed the expected number
        self.assertEqual(5, len(pushes))

        # Grab again
        after = [i.name for i in remote.refs]
        # Should be down to just master
        self.assertEqual(['master'], after)

        With the list of refs, will delete these from the remote.

        This test makes assertion against the remote, not the clone repository.
        We are testing to see if the interactions in the cloned repo are pushed
        through to the remote.

        Note that accessing the repository directly does not include the
        symbolic reference of HEAD.
        
src/gitsweep/tests/test_deleter.py