def test_state_abbr(self, faker, num_samples):
    for _ in range(num_samples):
        state_abbr = faker.state_abbr()
        assert isinstance(state_abbr, str)
        assert (state_abbr in EnAuAddressProvider.states_abbr)
        assert state_abbr.isupper()
def test_state_abbr(self, faker, num_samples):
    for _ in range(num_samples):
        state_abbr = faker.state_abbr()
        assert isinstance(state_abbr, str)
        assert (state_abbr in EnAuAddressProvider.states_abbr)
        assert state_abbr.isupper()