Skip to content

Commit

Permalink
Changed project names and no name duplicates anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoma5 committed Jan 29, 2017
1 parent 1c7ef34 commit 2c52112
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/bigsamples.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def insert(self):
class Project:
def __init__(self):
self.id = random_uuid()
self.name = faker.company()[:21] + " Project"
self.description = faker.sentence()
self.name = faker.color_name()[:21] + " Project"
self.description = faker.catch_phrase()
self.time = random_datetime(False)
self.disabled = False

Expand Down Expand Up @@ -420,7 +420,6 @@ def main():
print("begin;")
general_count = 0
for seed in range(10):
faker.random.seed(2017+seed, version=2)
users = [User(i) for i in range(USER_COUNT)]
for user in users:
print(user.insert())
Expand Down

0 comments on commit 2c52112

Please sign in to comment.