Closed jreback closed 9 years ago
Looking at this now.
The problem is that world bank's search results are not static.
it's now returning...
id name
700 6.0.GDPpc_constant GDP per capita, PPP (constant 2011 internation...
4682 GDPPCKD GDP per Capita, constant US$, millions
6717 NY.GDP.PCAP.KD GDP per capita (constant 2005 US$)
6719 NY.GDP.PCAP.KN GDP per capita (constant LCU)
6721 NY.GDP.PCAP.PP.KD GDP per capita, PPP (constant 2011 internation...
...so the test fails.
It's a poorly designed test. FWIW, I updated the test in my last commit, but wasn't the original creator/designer of it.
A reasonable check, would be to make sure the contents of the 'name' column contain, say, at least 1 element with 'GDP' in it. I'll can do a PR momentarily.
maybe just assert that u can at least 1 row back
Already had this done, before I saw your comment.
I'm crashing for the night. That's ready to be merged, and is actually an improved test - and in fewer lines!
closed by #8769
xref #8551
cc @jnmclarty