'Regression test to ensure that the CEF log works. Pass through the
app.pk instead of the full unicode name, until the CEF library is
fixed, or heka is used.'

@mock.patch('mkt.receipts.views.create_receipt')
def test_unicode_name(self, create_receipt):

    create_receipt.return_value = 'foo'
    self.app.name = u'\u0627\u0644\u062a\u0637\u0628-news'
    self.app.save()
    self.login(self.reviewer.email)
    res = self.client.post(self.url)
    eq_(res.status_code, 200)
