mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Add conftest.py and test_integration.py
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
def neon():
|
||||
from neon_client import NeonAPI
|
||||
|
||||
return NeonAPI.from_environ()
|
||||
@@ -0,0 +1,11 @@
|
||||
import neon_client
|
||||
|
||||
|
||||
def test_me(neon):
|
||||
me = neon.me()
|
||||
assert me
|
||||
|
||||
|
||||
def test_get_projects(neon):
|
||||
projects = neon.get_projects()
|
||||
assert projects
|
||||
Reference in New Issue
Block a user