Esempio n. 1
0
def test_record_unbuild_url(api_app):
    """Test record unbuild url."""
    assert '1' == record_unbuild_url(
        'https://cds.cern.ch/api/deposits/video/1')
    assert '1' == record_unbuild_url('https://cds.cern.ch/api/record/1')
Esempio n. 2
0
def test_record_unbuild_url(deposit_rest):
    """Test record unbuild url."""
    assert '1' == record_unbuild_url('/deposits/video/1')
    assert '1' == record_unbuild_url('/record/1')