コード例 #1
0
ファイル: test_core.py プロジェクト: kyleconroy/seamstress
def test_postgres_privilege():
    postgres.installation()
    postgres.database("foobar")
    postgres.user("boo", "foo")
    postgres.privilege("all",
            user="******",
            database="foobar")
コード例 #2
0
def test_postgres_privilege():
    postgres.installation()
    postgres.database("foobar")
    postgres.user("boo", "foo")
    postgres.privilege("all", user="******", database="foobar")
コード例 #3
0
def test_postgres_user():
    postgres.installation()
    postgres.user("boo", "foo")
    assert_in("boo", sudo('psql -c "\\du"', user="******"))
コード例 #4
0
ファイル: test_core.py プロジェクト: kyleconroy/seamstress
def test_postgres_user():
    postgres.installation()
    postgres.user("boo", "foo")
    assert_in("boo", sudo('psql -c "\\du"', user="******"))