Remove carts from tests
This commit is contained in:
parent
648ef76234
commit
9f7af072dc
@ -18,7 +18,6 @@ if os.path.exists(DB_FILE):
|
||||
os.environ["ALCHEMICAL_DATABASE_URI"] = "sqlite:///" + DB_FILE
|
||||
from app.models import ( # noqa: E402
|
||||
db,
|
||||
Carts,
|
||||
NoteColours,
|
||||
Playdates,
|
||||
Playlists,
|
||||
@ -256,12 +255,6 @@ class TestMMModels(unittest.TestCase):
|
||||
colour = nc3.get_colour(session, BAD_STRING)
|
||||
assert colour is None
|
||||
|
||||
def test_create_cart(self):
|
||||
with db.Session() as session:
|
||||
cart = Carts(session, 1, "name")
|
||||
assert cart
|
||||
_ = str(cart)
|
||||
|
||||
def test_name_available(self):
|
||||
PLAYLIST_NAME = "a name"
|
||||
RENAME = "new name"
|
||||
|
||||
@ -19,14 +19,9 @@ os.environ["ALCHEMICAL_DATABASE_URI"] = "sqlite:///" + DB_FILE
|
||||
from app import playlistmodel, utilities
|
||||
from app.models import ( # noqa: E402
|
||||
db,
|
||||
Carts,
|
||||
NoteColours,
|
||||
Playdates,
|
||||
Playlists,
|
||||
PlaylistRows,
|
||||
Tracks,
|
||||
)
|
||||
from app import playlists
|
||||
from app import musicmuster
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user