File tree Expand file tree Collapse file tree
packages/sqlalchemy-spanner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,28 +299,6 @@ def _migration_test(session):
299299 os .remove ("test.cfg" )
300300
301301
302- @nox .session (python = DEFAULT_PYTHON_VERSION )
303- def snippets (session ):
304- """Run the documentation example snippets."""
305- # Sanity check: Only run snippets system tests if the environment variable
306- # is set.
307- if not os .environ .get ("GOOGLE_APPLICATION_CREDENTIALS" , "" ):
308- session .skip ("Credentials must be set via environment variable." )
309-
310- session .install ("pytest" )
311- session .install ("sqlalchemy>=1.4,<2.0" )
312- session .install (
313- "git+https://github.com/googleapis/python-spanner.git#egg=google-cloud-spanner"
314- )
315- session .install ("." )
316- session .run ("python" , "create_test_database.py" )
317- session .run (
318- "py.test" ,
319- "--quiet" ,
320- os .path .join ("samples" , "snippets_test.py" ),
321- * session .posargs ,
322- )
323-
324302@nox .session (python = ALL_PYTHON )
325303@nox .parametrize ("test_type" , ["unit" , "mockserver" ])
326304def unit (session , test_type ):
You can’t perform that action at this time.
0 commit comments