mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Add Neon API package and related files
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import pytest
|
||||
|
||||
@pytest.fixture
|
||||
def neon():
|
||||
from neon_client import NeonAPI
|
||||
from neon_api import NeonAPI
|
||||
|
||||
return NeonAPI.from_environ()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from random import randint
|
||||
|
||||
import pytest
|
||||
import neon_client
|
||||
import neon_api
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
@@ -13,7 +13,7 @@ def vcr_config():
|
||||
def test_me(neon):
|
||||
me = neon.me()
|
||||
|
||||
assert isinstance(me, neon_client.schema.CurrentUserInfoResponse)
|
||||
assert isinstance(me, neon_api.schema.CurrentUserInfoResponse)
|
||||
assert me.email
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user