Exemplo n.º 1
0
 def test_isValid_WithMultiExtensions(self):
     analyzer = PluginFileAnalyzerWithInfoFile(
         "mouf", ("yapsy-plugin", "yapsy-filter-plugin"))
     self.assertTrue(analyzer.isValidPlugin(self.yapsy_plugin_path))
     self.assertFalse(analyzer.isValidPlugin(self.version_plugin_path))
     self.assertTrue(analyzer.isValidPlugin(self.yapsy_filter_plugin_path))
Exemplo n.º 2
0
	def test_isValid_WithMultiExtensions(self):
		analyzer = PluginFileAnalyzerWithInfoFile("mouf",("yapsy-plugin","yapsy-filter-plugin"))
		self.assertTrue(analyzer.isValidPlugin(self.yapsy_plugin_path))
		self.assertFalse(analyzer.isValidPlugin(self.version_plugin_path))
		self.assertTrue(analyzer.isValidPlugin(self.yapsy_filter_plugin_path))
Exemplo n.º 3
0
 def test_isValid(self):
     analyzer = PluginFileAnalyzerWithInfoFile("mouf")
     self.assertTrue(analyzer.isValidPlugin(self.yapsy_plugin_path))
     self.assertFalse(analyzer.isValidPlugin(self.version_plugin_path))
Exemplo n.º 4
0
	def test_isValid(self):
		analyzer = PluginFileAnalyzerWithInfoFile("mouf")
		self.assertTrue(analyzer.isValidPlugin(self.yapsy_plugin_path))
		self.assertFalse(analyzer.isValidPlugin(self.version_plugin_path))