'Test that basic auth will not authenticate with falsey values'

def test_basic_login_does_not_use_falsey_values(self):

    bad_auths = [(None, 'password'), ('username', None), ('', 'password'), ('username', '')]
    for auth in bad_auths:
        s = self.build_session()
        s.basic_auth(*auth)
        assert (s.auth != auth)
