def test_is_deposit(): """Test is deposit function.""" assert is_deposit('https://cds.cern.ch/api/deposits/project/1') is True assert is_deposit('https://cds.cern.ch/api/record/1') is False
def test_is_deposit(): """Test is deposit function.""" assert is_deposit('/api/deposit/1') is True assert is_deposit('/record/1') is False