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