Changes between Initial Version and Version 3 of Ticket #25438


Ignore:
Timestamp:
Sep 21, 2015, 12:52:43 PM (9 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25438

    • Property Cc felisiak.mariusz@… added
  • Ticket #25438 – Description

    initial v3  
    11After the patch for #24688 to add support for new-style GIS functions, some test failures remain:
    22{{{
    3     gis_tests.geoapp.test_functions.GISFunctionsTests.test_difference
    4     gis_tests.geoapp.test_functions.GISFunctionsTests.test_intersection
    5     gis_tests.geoapp.test_functions.GISFunctionsTests.test_difference_mixed_srid
    6     gis_tests.geoapp.tests.GeoQuerySetTest.test_gml
    7     gis_tests.geogapp.tests.GeographyFunctionTests.test_distance_function
     3gis_tests.geoapp.test_functions.GISFunctionsTests.test_difference
     4
     5Traceback (most recent call last):
     6  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/django/test/testcases.py", line 1093, in skip_wrapper
     7    return test_func(*args, **kwargs)
     8  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/tests/gis_tests/geoapp/test_functions.py", line 180, in test_difference
     9    self.assertEqual(c.mpoly.difference(geom), c.diff)
     10AssertionError: <MultiPolygon object at 0x7f768d20f450> != <MultiPolygon object at 0x7f768d1df2b8>
     11
     12gis_tests.geoapp.test_functions.GISFunctionsTests.test_intersection
     13
     14Traceback (most recent call last):
     15  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/django/test/testcases.py", line 1093, in skip_wrapper
     16    return test_func(*args, **kwargs)
     17  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/tests/gis_tests/geoapp/test_functions.py", line 234, in test_intersection
     18    self.assertEqual(c.inter, expected)
     19AssertionError: '' != <GeometryCollection object at 0x7f768ea5a120>
     20
     21gis_tests.geoapp.test_functions.GISFunctionsTests.test_difference_mixed_srid
     22
     23Traceback (most recent call last):
     24  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/django/db/utils.py", line 102, in inner
     25    return func(*args, **kwargs)
     26  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/django/db/backends/oracle/base.py", line 516, in fetchmany
     27    return tuple(_rowfactory(r, self.cursor) for r in self.cursor.fetchmany(size))
     28cx_Oracle.DatabaseError: ORA-13199: SRID does not exist.
     29ORA-06512: at "MDSYS.MD", line 1723
     30ORA-06512: at "MDSYS.MDERR", line 17
     31ORA-06512: at "MDSYS.SDO_CS", line 5264
     32ORA-06512: at "MDSYS.SDO_CS", line 3034
     33
     34gis_tests.geoapp.tests.GeoQuerySetTest.test_gml
     35
     36Traceback (most recent call last):
     37  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/django/test/testcases.py", line 1093, in skip_wrapper
     38    return test_func(*args, **kwargs)
     39  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/tests/gis_tests/geoapp/tests.py", line 635, in test_gml
     40    self.assertTrue(gml_regex.match(ptown.gml))
     41AssertionError: None is not true
     42
     43gis_tests.geogapp.tests.GeographyFunctionTests.test_distance_function
     44
     45Traceback (most recent call last):
     46  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/django/test/testcases.py", line 1093, in skip_wrapper
     47    return test_func(*args, **kwargs)
     48  File "/mnt/jenkinsdata/workspace/pull-requests-oracle/database/oragis11/python/python3.5/tests/gis_tests/geogapp/tests.py", line 120, in test_distance_function
     49    self.assertAlmostEqual(z.distance.m, ref, 2)
     50AssertionError: 4899.67677194225 != 4891.2 within 2 places
    851}}}
Back to Top