Index: third_party/protobuf/python/google/protobuf/internal/descriptor_database_test.py |
diff --git a/third_party/protobuf/python/google/protobuf/internal/descriptor_database_test.py b/third_party/protobuf/python/google/protobuf/internal/descriptor_database_test.py |
index 8416e1575d7687ccd487539c83438b8bdf474f7c..d0ca7892244f7bee5913a0231835c56ec124cd54 100644 |
--- a/third_party/protobuf/python/google/protobuf/internal/descriptor_database_test.py |
+++ b/third_party/protobuf/python/google/protobuf/internal/descriptor_database_test.py |
@@ -1,8 +1,8 @@ |
-#! /usr/bin/env python |
+#! /usr/bin/python |
# |
# Protocol Buffers - Google's data interchange format |
# Copyright 2008 Google Inc. All rights reserved. |
-# https://developers.google.com/protocol-buffers/ |
+# http://code.google.com/p/protobuf/ |
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
@@ -49,17 +49,15 @@ class DescriptorDatabaseTest(unittest.TestCase): |
db.Add(file_desc_proto) |
self.assertEquals(file_desc_proto, db.FindFileByName( |
- 'google/protobuf/internal/factory_test2.proto')) |
+ 'net/proto2/python/internal/factory_test2.proto')) |
self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( |
- 'google.protobuf.python.internal.Factory2Message')) |
+ 'net.proto2.python.internal.Factory2Message')) |
self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( |
- 'google.protobuf.python.internal.Factory2Message.NestedFactory2Message')) |
+ 'net.proto2.python.internal.Factory2Message.NestedFactory2Message')) |
self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( |
- 'google.protobuf.python.internal.Factory2Enum')) |
+ 'net.proto2.python.internal.Factory2Enum')) |
self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( |
- 'google.protobuf.python.internal.Factory2Message.NestedFactory2Enum')) |
- self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( |
- 'google.protobuf.python.internal.MessageWithNestedEnumOnly.NestedEnum')) |
+ 'net.proto2.python.internal.Factory2Message.NestedFactory2Enum')) |
if __name__ == '__main__': |
unittest.main() |