mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 14:50:16 +00:00
Add support for roles, endpoints, compute, etc. and update integration tests
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def neon():
|
||||
from neon_client import NeonAPI
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
import pytest
|
||||
import neon_client
|
||||
|
||||
|
||||
@pytest.mark.vcr
|
||||
def test_me(neon):
|
||||
me = neon.me()
|
||||
assert me
|
||||
assert me["email"] == "me@kennethreitz.org"
|
||||
|
||||
|
||||
@pytest.mark.vcr
|
||||
@pytest.mark.vcr
|
||||
def test_get_projects(neon):
|
||||
projects = neon.get_projects()
|
||||
assert projects
|
||||
projects = neon.projects()
|
||||
assert "projects" in projects
|
||||
|
||||
Reference in New Issue
Block a user