Beispiel #1
0
def test_resource_on_dialects():
    assert (resource.dispatch('mysql://foo') is
            resource.dispatch('mysql+pymysql://foo'))
    assert (resource.dispatch('never-before-seen-sql://foo') is
            resource.dispatch('mysql://foo'))
Beispiel #2
0
def test_resource_on_dialects():
    assert resource.dispatch("mysql://foo") is resource.dispatch("mysql+pymysql://foo")
    assert resource.dispatch("never-before-seen-sql://foo") is resource.dispatch("mysql://foo")