Skip to content
Snippets Groups Projects
Select Git revision
  • 6688f9b7baa715ed42e8a338b7e68a7652c8fbd8
  • dev default protected
  • new_pvl_core
  • 8.0-test
  • lts-testing
  • revert-5695-ideal_serial
  • 9.0
  • 9.0.0_RC2
  • 8.0
  • 8.0.5_LTS
  • code8.3.0
  • 9.0.0
  • 9.0.0_RC1
  • gdal_pvl
  • Kelvinrr-patch-3
  • Kelvinrr-patch-2
  • 8.3
  • pvl_core
  • 8.2
  • 8.1
  • Kelvinrr-patch-1
  • 8.0.4
  • 8.3.0
  • 8.2.0
  • 8.1.0
  • 8.0.3
  • 8.0.2
  • 8.0.1
  • 8.0.0
  • 8.1.0_RC2
  • 8.1.0_RC1
  • 8.0.0_RC2
  • 8.0.0_RC1
  • 7.2.0
  • 7.1.0
  • 7.0.0
  • 7.2.0_RC1
  • 7.1.0_RC1
  • 7.0.0_RC2
  • 7.0.0_RC1
  • 6.0.0
41 results

Pvl.cpp

Blame
  • test_reproject.py 306 B
    from unittest import mock
    import pytest
    
    from knoten import utils
    
    def test_reproject():
        with mock.patch('pyproj.transform', return_value=[1,1,1]) as mock_pyproj:
            res = utils.reproject([1,1,1], 10, 10, 'geocent', 'latlon')
            mock_pyproj.assert_called_once()
            assert res == (1,1,1)