~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to mkdb.py

  • Committer: jf
  • Date: 2013-11-29 07:33:57 UTC
  • Revision ID: jf@ubuntu-20131129073357-u6rfynqsh4z8rnqs
[FIX] Install sync_so after the master dump.

sync_so creates uuid and missing xml_id with this uuid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
    def test_02_base_install(self):
218
218
        self.db.connect('admin')
219
219
        self.db.module('msf_profile').install().do()
 
220
 
 
221
 
 
222
    @skip_test_real_eval("skipModules", "Modules installation desactivated")
 
223
    def test_04_base_install(self):
 
224
        self.db.connect('admin')
220
225
        self.db.module('sync_so').install().do()
221
226
 
222
227
    @skip_test_real_eval("skipUniUser", "UniField user creation desactivated")
223
 
    def test_03_unifield_user_creation(self):
 
228
    def test_05_unifield_user_creation(self):
224
229
        self.db.connect('admin')
225
230
        self.db.user('unifield').add('admin').addGroups('Sync / User', 'Purchase / User')
226
231
 
431
436
    db = Synchro
432
437
    
433
438
    @unittest.skipIf(skipMasterCreation, "Master dump creation desactivated") 
434
 
    def test_04_dump_master(self):
 
439
    def test_03_dump_master(self):
435
440
        self.dump_db(master_dir, master_prefix_name)
436
441
 
437
442
    @unittest.skipIf(skipModuleUpdate, "update_server installation desactivated")