Skip to content

Commit edb8bed

Browse files
aviaryanjuslee
authored andcommitted
removed duplicate tests/set_up.py, fixes fossasia#311 (fossasia#312)
* removed duplicate tests/set_up.py * fixed the build error
1 parent 75f9321 commit edb8bed

File tree

6 files changed

+6
-31
lines changed

6 files changed

+6
-31
lines changed

tests/object_mother.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def get_microlocation():
3333
return Microlocation(name="name",
3434
latitude=1.0,
3535
longitude=1.0)
36-
37-
36+
37+
3838
@staticmethod
3939
def get_speaker():
4040
return Speaker( name="name",

tests/set_up.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import unittest
33
from tests.utils import OpenEventTestCase
44

5-
from tests.set_up import Setup
5+
from tests.setup_database import Setup
66

77
from open_event import current_app as app
88
from open_event.helpers.data import save_to_db

tests/test_event_track.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import unittest
33
from tests.utils import OpenEventTestCase
44
from flask import url_for
5-
from tests.set_up import Setup
5+
from tests.setup_database import Setup
66
from open_event import current_app as app
77
from open_event.helpers.data import save_to_db
88
from tests.object_mother import ObjectMother

tests/test_login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from auth_helper import register
55
import unittest
66
from flask import url_for
7-
from tests.set_up import Setup
7+
from tests.setup_database import Setup
88
from open_event import current_app as app
99
from open_event.helpers.data import save_to_db
1010
from tests.object_mother import ObjectMother

tests/test_validations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from wtforms import ValidationError
66

77
from tests.utils import OpenEventTestCase
8-
from tests.set_up import Setup
8+
from tests.setup_database import Setup
99
from open_event import current_app as app
1010
from open_event.helpers.data import save_to_db
1111
from open_event.helpers.validators import (

0 commit comments

Comments
 (0)