def test_parse_phrase_set_path(): expected = { "project": "octopus", "location": "oyster", "phrase_set": "nudibranch", } path = SpeechClient.phrase_set_path(**expected) # Check that the path construction is reversible. actual = SpeechClient.parse_phrase_set_path(path) assert expected == actual
def test_parse_phrase_set_path(): expected = { "project": "nautilus", "location": "scallop", "phrase_set": "abalone", } path = SpeechClient.phrase_set_path(**expected) # Check that the path construction is reversible. actual = SpeechClient.parse_phrase_set_path(path) assert expected == actual