Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • C CRS Conversion
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe Software
  • Platform
  • System
  • Reference and Helper Services
  • CRS Conversion
  • Issues
  • #9

Closed
Open
Created Oct 05, 2020 by Matt Wise@wsmatthOwner

Transformations with Duplicate Points integration test is failing

test_transformation_with_duplicate_points fails with the error: 'Actual response is different from expected response.'

Running tests...
----------------------------------------------------------------------
Request URL: http://localhost:8080/api/crs/converter/v2/convertGeoJson
Request URL: http://localhost:8080/api/crs/converter/v2/convertGeoJson
Request URL: http://localhost:8080/api/crs/converter/v2/convert
Request URL: http://localhost:8080/api/crs/converter/v2/convertGeoJson
Request URL: http://localhost:8080/api/crs/converter/v2/convertGeoJson
Request URL: http://localhost:8080/api/crs/converter/v2/convert
Different point values at index 0; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 1; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 2; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 3; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 4; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 5; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 6; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 7; actual, expected
{'x': 16979.222386715002, 'y': -12893.153891541064, 'z': 0.0}
{'x': 16979.216004341986, 'y': -12893.186986758385, 'z': 0.0}
Different point values at index 8; actual, expected
{'x': 1156645.1308748866, 'y': -11914.092381872237, 'z': 0.0}
{'x': 1156645.1234614472, 'y': -11914.127523030565, 'z': 0.0}
Different point values at index 9; actual, expected
{'x': 19237.231276916806, 'y': 910934.4099121252, 'z': 0.0}
{'x': 19237.224250591764, 'y': 910934.3744477661, 'z': 0.0}
Different point values at index 10; actual, expected
{'x': 1152665.7877920815, 'y': 912072.5160901621, 'z': 0.0}
{'x': 1152665.7797102598, 'y': 912072.4786415551, 'z': 0.0}
Different point values at index 11; actual, expected
{'x': 586399.4302536403, 'y': 448578.29563616123, 'z': 0.0}
{'x': 586399.423030929, 'y': 448578.2603117402, 'z': 0.0}
Request URL: http://localhost:8080/api/crs/converter/v2/convertTrajectory
Request URL: http://localhost:8080/api/crs/converter/v2/convertTrajectory

Request URL: http://localhost:8080/api/crs/converter/v2/convert
...F...
======================================================================
ERROR [0.126s]: test_transformation_with_duplicate_points (crs_converter_test_core.test_crs_converter.TestCrsConverterIntegration)
Read from data/DuplicatePoints.json and convert/transform
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../crs_converter_test_core/test_crs_converter.py", line 282, in test_transformation_with_duplicate_points
    self.assertTrue(ok, 'Actual response is different from expected response.')
AssertionError: False is not true : Actual response is different from expected response.

----------------------------------------------------------------------
Ran 7 tests in 3.158s

FAILED (errors=1)
Assignee
Assign to
Time tracking