changeset 495:490ede56f348

starting logontests
author Catherine Devlin <catherine.devlin@gmail.com>
date Tue, 14 Sep 2010 23:21:57 -0400
parents ff3470e79ac2
children af846fd968cd
files sqlpython/logontests.txt
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sqlpython/logontests.txt	Tue Sep 14 23:21:57 2010 -0400
@@ -0,0 +1,27 @@
+Transcript file for testing of sqlpython; run tests with 
+`python mysqlpy.py --test logontests.txt`.
+The database ``testplatform`` must be running and must include 
+user ``testuser``, password ``testpassword``, with full rights on
+schema ``testuser``.
+
+SQL.No_Connection> set
+/.*/
+SQL.No_Connection> set colors off
+/.*/
+SQL.No_Connection> connect postgres://testuser:testpassword@localhost/testplatform
+0:testuser@testplatform> select datname from pg_catalog.pg_database where datname = 'testplatform';
+
+datname     
+------------
+testplatform
+
+1 row selected.
+
+0:testuser@testplatform> connect --postgres --password testpassword testplatform testuser
+0:testuser@testplatform> select datname from pg_catalog.pg_database where datname = 'testplatform';
+
+datname     
+------------
+testplatform
+
+1 row selected.
\ No newline at end of file