def setUp(self): vista = VistaSource() vista.site_id = '506' vista.hostname = 'c:/vista/virtual_vista.db' vista.site_type = VistaSource.VIRTUAL self.cxn = vista.get_cxn() self.cxn.connect()
def setUp(self): vista = VistaSource() vista.site_id = VIRTUAL_VISTA['site_id'] vista.site_name = 'Virtual 506' vista.hostname = VIRTUAL_VISTA['hostname'] vista.site_type = VistaSource.VIRTUAL vista.admin_user_id = 33 self.user = RdtUser(vista_src=vista)
def test_ubuntu(self): from evista.constants import UBUNTU_VISTA vista = VistaSource() vista.site_id = UBUNTU_VISTA['ID'] vista.hostname = '192.168.1.136' vista.port = UBUNTU_VISTA['PORT'] vista.site_type = VistaSource.TEST vista.site_name = 'OSEHRA' employee = Employee() employee.fed_id = '123456789' employee.name = 'DEPARTMENT OF DEFENSE,USER' employee.uid = '33' self.user = RdtUser() self.user.vista_src = vista self.user.employee_rec = employee run = PayRun(fy=13, pay_period=15)