Skip to content

Commit

Permalink
Update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Oct 7, 2023
1 parent 29a1695 commit 3f9503d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test_faker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import enum
import sys

import pytest
from faker import Factory
Expand All @@ -14,7 +15,10 @@ class DummyEnum(enum.Enum):
def test_smoke_providers():
fake = Factory.create()

for provider in get_providers():
providers = get_providers()
print(providers, file=sys.stderr)

for provider in providers:
if provider == "enum":
getattr(fake, provider)(DummyEnum)
continue
Expand Down

0 comments on commit 3f9503d

Please sign in to comment.