Mercurial > getan
diff test_data/getan_test_data.py @ 454:a4f04440f045 2.2
Improves coding style and phrasing.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Fri, 26 Jan 2018 17:28:33 +0100 |
parents | ceb5909b106e |
children | 199b3e3657aa |
line wrap: on
line diff
--- a/test_data/getan_test_data.py Fri Jan 26 17:23:01 2018 +0100 +++ b/test_data/getan_test_data.py Fri Jan 26 17:28:33 2018 +0100 @@ -1,20 +1,16 @@ #!/usr/bin/env python3 - -# Program to create test data for getan (getan_test_data.db). - -""" - Author: Magnus Schieder <magnus.schieder@intevation.de> - (c) 2018 Intevation GmbH +""" Create test data for getan (getan_test_data.db). - Please delete existing getan_test_data.db. - Execute getan_test_data.py to get the test database getan_test_data.db. - Open getan with getan_test_data.db: getan /path/getan_test_data.db +Please delete existing getan_test_data.db. +Execute getan_test_data.py to get the test database getan_test_data.db. +Open getan with getan_test_data.db: getan /path/getan_test_data.db - This is Free Software licensed under the terms of GPLv3 or later. - For details see LICENSE coming with the source of 'getan'. +(c) 2018 Intevation GmbH +Author: Magnus Schieder <magnus.schieder@intevation.de> + +This is Free Software licensed under the terms of GPLv3 or later. +For details see LICENSE coming with the source of 'getan'. """ - - import sqlite3 @@ -73,5 +69,6 @@ conn.close() print("getan_test_data.db was created.") + if __name__ == '__main__': main()