summaryrefslogtreecommitdiff
path: root/sqlplain/tests/test_reset.py
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2014-07-29 11:57:01 +0200
committerMichele Simionato <michele.simionato@gmail.com>2014-07-29 11:57:01 +0200
commit807443ef3d043565a00ba475aa8d132006304b77 (patch)
treee8e2b4a22bc75da4c67c708e91185f2610eeacc7 /sqlplain/tests/test_reset.py
parent90ecdcfcdb3fb64d6f5db609a97d9c18d54652ee (diff)
downloadmicheles-master.tar.gz
Removed the old sqlplain codeHEADmaster
Diffstat (limited to 'sqlplain/tests/test_reset.py')
-rw-r--r--sqlplain/tests/test_reset.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/sqlplain/tests/test_reset.py b/sqlplain/tests/test_reset.py
deleted file mode 100644
index 1971e04..0000000
--- a/sqlplain/tests/test_reset.py
+++ /dev/null
@@ -1,18 +0,0 @@
-from sqlplain import connect, do
-
-def test_postgres():
- count_customers = do('select count(*) from customer', scalar=True)
- conn = connect('postgres://python:p1tone@localhost/rcare')
- print count_customers(conn)
- conn._curs.close() # closed the cursor by hand to emulate an error
- print count_customers(conn)
-
-def test_mssql():
- count_customers = do('select count(*) from client', scalar=True)
- conn = connect('srs_dev')
- print count_customers(conn)
- conn._curs.close() # closed the cursor by hand to emulate an error
- print count_customers(conn)
-
-if __name__ == '__main__':
- test_mssql()