Jump to content

Module talk:Stock tickers/NYSE/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

All 7 tests passed.

test_exchanges
Text Expected Actual
checkY {{#invoke:Stock tickers/NYSE | GetURL | GE }} https://www.nyse.com/quote/XNYS:GE https://www.nyse.com/quote/XNYS:GE
checkY {{#invoke:Stock tickers/NYSE | GetURL | GE | exchange=NYSE}} https://www.nyse.com/quote/XNYS:GE https://www.nyse.com/quote/XNYS:GE
checkY {{#invoke:Stock tickers/NYSE | GetURL | BTI | exchange=AMEX}} https://www.nyse.com/quote/XASE:BTI https://www.nyse.com/quote/XASE:BTI
checkY {{#invoke:Stock tickers/NYSE | GetURL | SPY | exchange=ARCA}} https://www.nyse.com/quote/ARCX:SPY https://www.nyse.com/quote/ARCX:SPY
test_preferred_shares
Text Expected Actual
checkY {{#invoke:Stock tickers/NYSE | GetURL | PRE.PRD}} https://www.nyse.com/quote/XNYS:PREpD https://www.nyse.com/quote/XNYS:PREpD
checkY {{#invoke:Stock tickers/NYSE | GetURL | BCS.PR}} https://www.nyse.com/quote/XNYS:BCSp https://www.nyse.com/quote/XNYS:BCSp
checkY {{#invoke:Stock tickers/NYSE | GetURL | TPUB.WI}} https://www.nyse.com/quote/XNYS:TPUBw https://www.nyse.com/quote/XNYS:TPUBw

Start a discussion about improving the Module:Stock tickers/NYSE/testcases page

Start a discussion