예제 #1
0
	def __init__(self):
		for test in SCRATCH_TESTS:
			self.DEFAULT_TEST_CONFIG[test[0]] = test[2]
	
		AbstractPlugin.__init__(self, 
			"Scratch2Parser", 
			"Joseph Lewis <*****@*****.**>", 
			0.1, 
			"BSD 3 Clause", 
			self.DEFAULT_CONFIG, 
			self.DEFAULT_TEST_CONFIG)
예제 #2
0
	def __init__(self):
		
		# append all possible tests to the default config
		for name, val, fun, t, f in SCRATCH_FUNCTIONS:
			self.DEFAULT_TEST_CONFIG[name] = val
		
		
		AbstractPlugin.__init__(self, 
					"Scratch Grader", 
					"Joseph Lewis <*****@*****.**>", 
					0.1, 
					"BSD 3 Clause",
					self.DEFAULT_CONFIG,
					self.DEFAULT_TEST_CONFIG)
예제 #3
0
	def __init__(self):
		AbstractPlugin.__init__(self, "SMTP Frontend", "Joseph Lewis <*****@*****.**>", 0.1, "BSD 3 Clause", self.DEFAULT_CONFIG, {})
예제 #4
0
	def __init__(self):
		AbstractPlugin.__init__(self,
			"Basic Upload", 
			"Joseph Lewis <*****@*****.**>", 
			0.1, 
			"BSD 3 Clause",{},{'enabled':True})
예제 #5
0
	def __init__(self):
		Handler._frontend_instance = self
		AbstractPlugin.__init__(self, "HTTP", "Joseph Lewis <*****@*****.**>", 0.1, "BSD 3 Clause", self.DEFAULT_CONFIG, {})
예제 #6
0
	def __init__(self):
		global frontend_instance
		AbstractPlugin.__init__(self, "HTTP2", "Joseph Lewis <*****@*****.**>", 0.1, "BSD 3 Clause", DEFAULT_CONFIG, {})
		frontend_instance = self