Switch from deprecated fake-factory to faker

This commit is contained in:
Jeffrey Linwood
2018-09-26 21:31:57 -05:00
parent 6fd5b996c8
commit 0c2f3f7732
2 changed files with 3 additions and 3 deletions

4
app.py
View File

@@ -1,6 +1,6 @@
import os
from flask import Flask, jsonify, request
from faker import Factory
from faker import Faker
from twilio.rest import Client
from twilio.jwt.access_token import AccessToken
from twilio.jwt.access_token.grants import (
@@ -20,7 +20,7 @@ def snake_case_keys(somedict):
return snake_case_dict
app = Flask(__name__)
fake = Factory.create()
fake = Faker()
dotenv_path = join(dirname(__file__), '.env')
load_dotenv(dotenv_path)

View File

@@ -1,5 +1,5 @@
Flask==1.0.2
fake-factory==0.5.3
faker==0.9.1
twilio==6.17.0
python-dotenv==0.9.1
inflection==0.3.1