def setUp(self): tfi = TextFileInterface(relative_directory="TestDB/") self.environment = Environment(tfi, DEBUG=True) self.environment.database.clear_database() self.environment.database.create_account("root", "root", "administrator") self.environment.database.create_course("361", "SoftwareEngineering")
def setUp(self): di = DjangoModelInterface() self.environment = Environment(di, DEBUG=True) self.environment.database.create_account("root", "root", "administrator") self.environment.database.create_course("361", "SoftwareEngineering") self.environment.database.create_lab("361", "801") self.environment.database.create_account("apoorv", "password", "TA")
def setUp(self): di = DjangoModelInterface() self.environment = Environment(di, DEBUG=True) self.environment.database.create_account("root", "root", "supervisor") self.environment.database.create_course("361", "SoftwareEngineering") self.environment.database.create_account("jayson", "password", "instructor") self.environment.database.set_course_assignment("361", "jayson")
def setUp(self): tfi = TextFileInterface(relative_directory="TestDB/") self.environment = Environment(tfi, DEBUG=True) self.environment.database.clear_database() self.environment.database.create_account("root", "root", "supervisor") self.environment.database.create_course("361", "SoftwareEngineering") self.environment.database.create_account("jayson", "password", "instructor") self.environment.database.set_course_assignment("361", "jayson")
def setUp(self): tfi = TextFileInterface(relative_directory="TestDB/") self.environment = Environment(tfi, DEBUG=True) self.environment.database.clear_database() self.environment.database.create_account("root", "root", "administrator") self.environment.database.create_course("361", "SoftwareEngineering") self.environment.database.create_lab("361", "801") self.environment.database.create_lab("361", "802") self.environment.database.create_lab("361", "803") self.environment.database.create_account("apoorv", "password", "TA") self.environment.database.set_lab_assignment("361", "802", "apoorv")
def setUp(self): di = DjangoModelInterface() self.environment = Environment(di, DEBUG=True)
def setUp(self): tfi = TextFileInterface(relative_directory="TestDB/") self.environment = Environment(tfi) self.environment.database.clear_database()
def setUp(self): di = DjangoModelInterface() self.environment = Environment(di, DEBUG=True) self.environment.database.create_account("root", "root", "administrator")
def setUp(self): tfi = TextFileInterface(relative_directory="TestDB/") self.environment = Environment(tfi) self.environment.database.clear_database() self.environment.database.create_account("root", "root", "administrator")
def setUp(self): di = DjangoModelInterface() self.environment = Environment(di, DEBUG=True) self.environment.user = User("root", "administrator")