-
Notifications
You must be signed in to change notification settings - Fork 2
Description
:) app.py exists
:| application starts up
check50 ran into an error while running checks!
ImportError: cannot import name 'format_stock_prices' from 'helpers' (/tmp/tmp0z9p98_9/startup/helpers.py)
File "/usr/local/lib/python3.13/site-packages/check50/runner.py", line 146, in wrapper
state = check(*args)
File "/home/ubuntu/.local/share/check50/cs50/problems/finance/init.py", line 22, in startup
Finance().get("/").status(200)
~~~~~~~^^
File "/home/ubuntu/.local/share/check50/cs50/problems/finance/init.py", line 193, in init
super().init(self.APP_NAME)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/check50/flask.py", line 34, in init
mod = internal.import_file(path.stem, path.name)
File "/usr/local/lib/python3.13/site-packages/check50/internal.py", line 181, in import_file
spec.loader.exec_module(mod)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/tmp/tmp0z9p98_9/startup/app.py", line 8, in
from helpers import apology, login_required, lookup, usd, format_stock_prices
:| register page has all required elements
can't check until a frown turns upside down
:| registering user succeeds (and login or portfolio page is displayed)
can't check until a frown turns upside down
:| registration with an empty field fails
can't check until a frown turns upside down
:| registration with password mismatch fails
can't check until a frown turns upside down
:| registration rejects duplicate username
can't check until a frown turns upside down
:| login page has all required elements
can't check until a frown turns upside down
:| logging in as registered user succceeds
can't check until a frown turns upside down
:| quote page has all required elements
can't check until a frown turns upside down
:| quote handles invalid ticker symbol
can't check until a frown turns upside down
:| quote handles blank ticker symbol
can't check until a frown turns upside down
:| quote handles valid ticker symbol
can't check until a frown turns upside down
:| buy page has all required elements
can't check until a frown turns upside down
:| buy handles invalid ticker symbol
can't check until a frown turns upside down
:| buy handles fractional, negative, and non-numeric shares
can't check until a frown turns upside down
:| buy handles valid purchase
can't check until a frown turns upside down
:| sell page has all required elements
can't check until a frown turns upside down
:| sell handles invalid number of shares
can't check until a frown turns upside down
:| sell handles valid sale
can't check until a frown turns upside down
:| history page shows transactions
can't check until a frown turns upside down