Beispiel #1
0
def test_postgres_privilege():
    postgres.installation()
    postgres.database("foobar")
    postgres.user("boo", "foo")
    postgres.privilege("all",
            user="******",
            database="foobar")
Beispiel #2
0
def test_postgres_privilege():
    postgres.installation()
    postgres.database("foobar")
    postgres.user("boo", "foo")
    postgres.privilege("all", user="******", database="foobar")
Beispiel #3
0
def test_postgres_user():
    postgres.installation()
    postgres.user("boo", "foo")
    assert_in("boo", sudo('psql -c "\\du"', user="******"))
Beispiel #4
0
def test_postgres_user():
    postgres.installation()
    postgres.user("boo", "foo")
    assert_in("boo", sudo('psql -c "\\du"', user="******"))