예제 #1
0
 def test_it_shows_bis_link_when_bin_is_present(self):
     info = OnboardingInfo(pad_bin='1234')
     assert 'DOB BIS' in info.get_building_links_html()
예제 #2
0
 def test_it_works_when_empty(self):
     info = OnboardingInfo()
     assert info.building_links == []
     assert info.get_building_links_html() == ''
예제 #3
0
 def test_it_shows_wow_link_when_bbl_is_present(self):
     info = OnboardingInfo(pad_bbl='1234')
     assert 'Who Owns What' in info.get_building_links_html()