def test_function(self): url = _generate_url(OLS, True) assert url == (self.stable + 'generated/' 'statsmodels.regression.linear_model.OLS.html') url = _generate_url(OLS, False) assert url == (self.devel + 'generated/' 'statsmodels.regression.linear_model.OLS.html')
def test_string(self): url = _generate_url('arch', True) assert url == 'http://www.statsmodels.org/stable/search.html?q=arch&check_keywords=yes&area=default' url = _generate_url('arch', False) assert url == 'http://www.statsmodels.org/devel/search.html?q=arch&check_keywords=yes&area=default' url = _generate_url('dickey fuller', False) assert url == 'http://www.statsmodels.org/devel/search.html?q=dickey+fuller&check_keywords=yes&area=default'
def test_string(self): url = _generate_url('arch',True) assert url == 'http://www.statsmodels.org/stable/search.html?q=arch&check_keywords=yes&area=default' url = _generate_url('arch',False) assert url == 'http://www.statsmodels.org/devel/search.html?q=arch&check_keywords=yes&area=default' url = _generate_url('dickey fuller',False) assert url == 'http://www.statsmodels.org/devel/search.html?q=dickey+fuller&check_keywords=yes&area=default'
def test_function(self): url = _generate_url(OLS, True) assert_equal( url, "http://statsmodels.sourceforge.net/stable/generated/statsmodels.regression.linear_model.OLS.html" ) url = _generate_url(OLS, False) assert_equal( url, "http://statsmodels.sourceforge.net/devel/generated/statsmodels.regression.linear_model.OLS.html" )
def test_string(self): url = _generate_url('arch', True) assert url == self.stable + 'search.html?q=' \ 'arch&check_keywords=yes&area=default' url = _generate_url('arch', False) assert url == self.devel + 'search.html?q=' \ 'arch&check_keywords=yes&area=default' url = _generate_url('dickey fuller', False) assert url == (self.devel + 'search.html?q=' 'dickey+fuller&check_keywords=yes&area=default')
def test_function(self): url = _generate_url(OLS, True) assert_equal( url, 'http://www.statsmodels.org/stable/generated/statsmodels.regression.linear_model.OLS.html' ) url = _generate_url(OLS, False) assert_equal( url, 'http://www.statsmodels.org/devel/generated/statsmodels.regression.linear_model.OLS.html' )
def test_string(self): url = _generate_url("arch", True) assert_equal( url, "http://statsmodels.sourceforge.net/stable/search.html?q=arch&check_keywords=yes&area=default" ) url = _generate_url("arch", False) assert_equal(url, "http://statsmodels.sourceforge.net/devel/search.html?q=arch&check_keywords=yes&area=default") url = _generate_url("dickey fuller", False) assert_equal( url, "http://statsmodels.sourceforge.net/devel/search.html?q=dickey+fuller&check_keywords=yes&area=default" )
def test_string(self): url = _generate_url('arch', True) assert_equal( url, 'http://statsmodels.sourceforge.net/stable/search.html?q=arch&check_keywords=yes&area=default' ) url = _generate_url('arch', False) assert_equal( url, 'http://statsmodels.sourceforge.net/devel/search.html?q=arch&check_keywords=yes&area=default' ) url = _generate_url('dickey fuller', False) assert_equal( url, 'http://statsmodels.sourceforge.net/devel/search.html?q=dickey+fuller&check_keywords=yes&area=default' )
def test_nothing(self): url = _generate_url(None, True) assert url == 'http://www.statsmodels.org/stable/' url = _generate_url(None, False) assert url == 'http://www.statsmodels.org/devel/'
def test_nothing(self): url = _generate_url(None, True) assert_equal(url, 'http://statsmodels.sourceforge.net/stable/') url = _generate_url(None, False) assert_equal(url, 'http://statsmodels.sourceforge.net/devel/')
def test_nothing(self): url = _generate_url(None, True) assert_equal(url, "http://statsmodels.sourceforge.net/stable/") url = _generate_url(None, False) assert_equal(url, "http://statsmodels.sourceforge.net/devel/")
def test_function(self): url = _generate_url(OLS, True) assert url == 'http://www.statsmodels.org/stable/generated/statsmodels.regression.linear_model.OLS.html' url = _generate_url(OLS, False) assert url == 'http://www.statsmodels.org/devel/generated/statsmodels.regression.linear_model.OLS.html'