Skip to content

test_005 #13

@romanchyla

Description

@romanchyla

recent changes improved scoring, but i question the increase of parameters that are being returned

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dvt/workspace/adsrex/classic2die/test_urls.py", line 142, in url_005
    self.assertRedirected(user, r, '/search/q=bibcode%3D0803983468&sort=date%20desc%2C%20bibcode%20desc&rows=30&start=0&format=HTM&unprocessed_parameter=All%20object%20queries%20include%20SIMBAD%20and%20NED%20search%20results.&unprocessed_parameter=Please%20note%20Min%20Score%20is%20deprecated.&unprocessed_parameter=All%20object%20queries%20include%20SIMBAD%20and%20NED%20search%20results.&unprocessed_parameter=Use%20For%20Weighting&unprocessed_parameter=Relative%20Weights&unprocessed_parameter=Weighted%20Scoring&unprocessed_parameter=Synonym%20Replacement/', 302)
  File "/dvt/workspace/adsrex/classic2die/test_urls.py", line 30, in assertRedirected
    self.assertEquals(r.headers['Location'], expected)
AssertionError: 'https://ui.adsabs.harvard.edu/search/q=bibcode%3D0803983468&sort=score%20desc&rows=30&start=0&unprocessed_parameter=data_type&unprocessed_parameter=Use%20For%20Weighting&unprocessed_parameter=Relative%20Weights&unprocessed_parameter=Weighted%20Scoring&unprocessed_parameter=Synonym%20Replacement/' != 'https://ui.adsabs.harvard.edu/search/q=bibcode%3D0803983468&sort=date%20desc%2C%20bibcode%20desc&rows=30&start=0&format=HTM&unprocessed_parameter=All%20object%20queries%20include%20SIMBAD%20and%20NED%20search%20results.&unprocessed_parameter=Please%20note%20Min%20Score%20is%20deprecated.&unprocessed_parameter=All%20object%20queries%20include%20SIMBAD%20and%20NED%20search%20results.&unprocessed_parameter=Use%20For%20Weighting&unprocessed_parameter=Relative%20Weights&unprocessed_parameter=Weighted%20Scoring&unprocessed_parameter=Synonym%20Replacement/'

essentially, all these unprocessed_parameters were not even included in the original query, could we please not include them in the redirect? @golnazads can you take a look please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions