def run(self):

        clip = sublime.get_clipboard()
        clearedPath = clipboardPathModel.do(clip)

        sublime.set_clipboard(clearedPath)
        sublime.status_message("set to clipboard: "+clearedPath)
        self.window.run_command('open_clipboard_path')
Exemplo n.º 2
0
	def test_testName(self):
		color.blue("test here baby")
		line = "  at aboutSocr (/Users/maks/Dropbox/nodeApps/redisVgo/rdb/city/fullCity/fullCityNameWithSocrWithoutRegionAndCountry_byCity.iced:17:4)\n"
		result = clipboardPathModel.do(line)
		expected = "/Users/maks/Dropbox/nodeApps/redisVgo/rdb/city/fullCity/fullCityNameWithSocrWithoutRegionAndCountry_byCity.iced:17:4"
		assertMy.equals(result, expected)