Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: third_party/py_vulcanize/py_vulcanize/parse_html_deps_unittest.py

Issue 1376953005: Move tracing/third_party/tvcm -> third_party/py_vulcanize. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/py_vulcanize/py_vulcanize/parse_html_deps_unittest.py
diff --git a/tracing/third_party/tvcm/tvcm/parse_html_deps_unittest.py b/third_party/py_vulcanize/py_vulcanize/parse_html_deps_unittest.py
similarity index 96%
rename from tracing/third_party/tvcm/tvcm/parse_html_deps_unittest.py
rename to third_party/py_vulcanize/py_vulcanize/parse_html_deps_unittest.py
index 81cc66d0f7bf2938fc98b42002c2c3d3457f36d9..113b75f107eadd3381ffdfa359910098393a5c66 100755
--- a/tracing/third_party/tvcm/tvcm/parse_html_deps_unittest.py
+++ b/third_party/py_vulcanize/py_vulcanize/parse_html_deps_unittest.py
@@ -6,8 +6,8 @@
import re
import unittest
-from tvcm import parse_html_deps
-from tvcm import html_generation_controller
+from py_vulcanize import parse_html_deps
+from py_vulcanize import html_generation_controller
class ParseTests(unittest.TestCase):
@@ -70,8 +70,8 @@ class ParseTests(unittest.TestCase):
<template>
</template>
<script>
- tvcm.require("foo");
- tvcm.require('bar');
+ py_vulcanize.require("foo");
+ py_vulcanize.require('bar');
</script>
</polymer-element>"""
@@ -85,14 +85,14 @@ class ParseTests(unittest.TestCase):
script0 = module.inline_scripts[0]
val = re.sub(r'\s+', '', script0.contents)
- inner_script = """tvcm.require("foo");tvcm.require('bar');"""
+ inner_script = """py_vulcanize.require("foo");py_vulcanize.require('bar');"""
self.assertEquals(inner_script, val)
self.assertEquals(3, len(script0.open_tags))
self.assertEquals('polymer-element', script0.open_tags[2].tag)
self.assertNotIn(
- 'tvcm.require("foo");',
+ 'py_vulcanize.require("foo");',
module.html_contents_without_links_and_script)
def test_parse_script_src_sripping(self):

Powered by Google App Engine
This is Rietveld 408576698