Commit aded6f4eff01f242549bd929050858b2a35fbb7f

Authored by OrysiaDrabych
1 parent 2628642b

Delete duplicate function

@@ -31,11 +31,10 @@ def create_fake_sentence(): @@ -31,11 +31,10 @@ def create_fake_sentence():
31 def create_fake_amount(award_amount): 31 def create_fake_amount(award_amount):
32 return round(random.uniform(1, award_amount), 2) 32 return round(random.uniform(1, award_amount), 2)
33 33
  34 +
34 def create_fake_title(): 35 def create_fake_title():
35 return u"[ТЕСТУВАННЯ] {}".format(fake.title()) 36 return u"[ТЕСТУВАННЯ] {}".format(fake.title())
36 37
37 -def create_fake_value_amount():  
38 - return fake.random_int(min=1)  
39 38
40 def create_fake_date(): 39 def create_fake_date():
41 return get_now().isoformat() 40 return get_now().isoformat()
@@ -20,7 +20,6 @@ from .initial_data import ( @@ -20,7 +20,6 @@ from .initial_data import (
20 create_fake_doc, 20 create_fake_doc,
21 create_fake_sentence, 21 create_fake_sentence,
22 create_fake_amount, 22 create_fake_amount,
23 - create_fake_value_amount,  
24 create_fake_date, 23 create_fake_date,
25 fake, 24 fake,
26 field_with_id, 25 field_with_id,
Please register or login to post a comment