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

Unified Diff: tests/rietveld_test.py

Issue 9172003: Accept svn:mime-type as a valid svn property. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 11 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
« no previous file with comments | « rietveld.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/rietveld_test.py
diff --git a/tests/rietveld_test.py b/tests/rietveld_test.py
index bad929c38679aea5fa0324bbdf6bb11354abee39..70bb320bd7c180ad117ab43a6d3fcccbc2f3c54f 100755
--- a/tests/rietveld_test.py
+++ b/tests/rietveld_test.py
@@ -289,6 +289,15 @@ class RietveldTest(unittest.TestCase):
' + LF\n',
'foo'))
+ # http://codereview.chromium.org/api/9139006/7001
+ self.assertEquals(
+ [('svn:mime-type', 'image/png')],
+ rietveld.Rietveld.parse_svn_properties(
+ '\n'
+ 'Added: svn:mime-type\n'
+ ' + image/png\n',
+ 'foo'))
+
def test_bad_svn_properties(self):
try:
rietveld.Rietveld.parse_svn_properties(u'\n', 'foo')
« no previous file with comments | « rietveld.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698