Пример #1
0
def test_detect_language(capsys):
    beta_snippets.detect_language(PROJECT_ID, u'Hæ sæta')
    out, _ = capsys.readouterr()
    assert 'is' in out
def test_detect_language(capsys):
    beta_snippets.detect_language(PROJECT_ID, "Hæ sæta")
    out, _ = capsys.readouterr()
    assert "is" in out
def test_detect_language(capsys):
    beta_snippets.detect_language(PROJECT_ID, 'Hæ sæta')
    out, _ = capsys.readouterr()
    assert 'is' in out