def test_ping(self, mock_get): sot = CloudCDNClient(mock.MagicMock()) sot.ping() mock_get.assert_called_with("/ping")