예제 #1
0
    def setUp(self):
        """Set up the settings and session"""

        self.settings = get_appsettings('configs/test.virtuoso.ini', name='main')
        self.settings['askomics.upload_user_data_method'] = 'insert'

        self.request = testing.DummyRequest()
        self.request.session['username'] = '******'
        self.request.session['group'] = 'base'
        self.request.session['admin'] = False
        self.request.session['blocked'] = True

        self.request.session['graph'] = "test/nosetest/jdoe"

        jm = JobManager(self.settings, self.request.session)
        jm.drop()
예제 #2
0
    def tes_drop(self):
        import os

        jm = JobManager(self.settings, self.request.session)
        os.remove(jm.pathdb)

        l = jm.drop()
예제 #3
0
    def tes_drop(self):
        import os

        jm = JobManager(self.settings, self.request.session)
        os.remove(jm.pathdb)

        l = jm.drop()
예제 #4
0
    def setUp(self):
        """Set up the settings and session"""

        self.settings = get_appsettings('configs/test.virtuoso.ini', name='main')
        self.settings['askomics.upload_user_data_method'] = 'insert'

        self.request = testing.DummyRequest()
        self.request.session['username'] = '******'
        self.request.session['group'] = 'base'
        self.request.session['admin'] = False
        self.request.session['blocked'] = True

        self.request.session['graph'] = "test/nosetest/jdoe"

        jm = JobManager(self.settings, self.request.session)
        jm.drop()