Beispiel #1
0
def test_detect_language(cloud_config, capsys):
    snippets.detect_language(cloud_config.api_key, 'Hæ sæta')
    out, _ = capsys.readouterr()
    assert 'is' in out
def test_detect_language(capsys):
    snippets.detect_language('Hæ sæta')
    out, _ = capsys.readouterr()
    assert 'is' in out
def test_detect_language(capsys):
    snippets.detect_language("Hæ sæta")
    out, _ = capsys.readouterr()
    assert "is" in out
def test_detect_language(capsys):
    snippets.detect_language('Hæ sæta')
    out, _ = capsys.readouterr()
    assert 'is' in out