@@ -27,29 +27,29 @@ def test_no_token(sample_expert):
2727
2828
2929def test_url_for_token (sample_expert , book_settings ):
30- expected = "http ://edx.readthedocs.io/projects/learner-guide/ en/ver /SFD_instructor_dash_help.html"
30+ expected = "https ://docs.openedx.org/ en/latest/learners /SFD_instructor_dash_help.html"
3131 assert sample_expert .url_for_token ("instructor" ) == expected
3232
3333
3434def test_no_version (sample_expert , book_settings ):
3535 book_settings .HELP_TOKENS_VERSION = None
36- expected = "http ://edx.readthedocs.io/projects/learner-guide/en /SFD_instructor_dash_help.html"
36+ expected = "https ://docs.openedx.org/en/latest/learners /SFD_instructor_dash_help.html"
3737 assert sample_expert .url_for_token ("instructor" ) == expected
3838
3939
4040def test_language_code (sample_expert , book_settings ):
4141 book_settings .HELP_TOKENS_LANGUAGE_CODE = "fr_CA"
42- expected = "http ://edx.readthedocs.io/projects/learner-guide/ fr/ver /SFD_instructor_dash_help.html"
42+ expected = "https ://docs.openedx.org/ fr/latest/learners /SFD_instructor_dash_help.html"
4343 assert sample_expert .url_for_token ("instructor" ) == expected
4444
4545
4646def test_unknown_language_code (sample_expert , book_settings ):
4747 book_settings .HELP_TOKENS_LANGUAGE_CODE = "xx"
48- expected = "http ://edx.readthedocs.io/projects/learner-guide/ en/ver /SFD_instructor_dash_help.html"
48+ expected = "https ://docs.openedx.org/ en/latest/learners /SFD_instructor_dash_help.html"
4949 assert sample_expert .url_for_token ("instructor" ) == expected
5050
5151
5252def test_no_language_code (sample_expert , book_settings ):
5353 book_settings .HELP_TOKENS_LANGUAGE_CODE = None
54- expected = "http ://edx.readthedocs.io/projects/learner-guide/ver /SFD_instructor_dash_help.html"
54+ expected = "https ://docs.openedx.org/en/latest/learners /SFD_instructor_dash_help.html"
5555 assert sample_expert .url_for_token ("instructor" ) == expected
0 commit comments