mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
base_external_dbsource and import_odbc modules moved out of __unported__ and adopted for instalation on v8.0 : created new form views for both modules as old ones was for v6.1
This commit is contained in:
9
base_external_dbsource/test/dbsource_connect.yml
Normal file
9
base_external_dbsource/test/dbsource_connect.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
-
|
||||
Connect to local Postgres.
|
||||
-
|
||||
!python {model: base.external.dbsource}: |
|
||||
from openerp.osv.orm import except_orm
|
||||
try:
|
||||
self.connection_test(cr, uid, [ref("demo_postgre")])
|
||||
except except_orm as e:
|
||||
assert e.value == u'Everything seems properly set up!'
|
||||
Reference in New Issue
Block a user