Example #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))
Example #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))
Example #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))
Example #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))