Python Forum
I am trying to run pytest and getting error that doesn't show up when running pytest.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I am trying to run pytest and getting error that doesn't show up when running pytest.
#2
I managed to fix the code simple error
def init_database(make_app_run_in_test_env):
should just be def init_database() .
Reply


Messages In This Thread
RE: I am trying to run pytest and getting error that doesn't show up when running pytest. - by uobouhb - May-20-2022, 02:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Pytest-html add screenshots help rafiPython1 1 8,187 Apr-30-2020, 07:16 PM
Last Post: Gourav
  Error after a few minutes of running julio2000 10 5,694 Feb-05-2020, 11:05 PM
Last Post: julio2000
  error when running headless selenium julio2000 2 4,736 Feb-01-2020, 12:41 PM
Last Post: julio2000
  Running flask run produces error. Charles1 1 4,161 Oct-04-2019, 10:38 PM
Last Post: snippsat
  Error when running .py file but not when entering exact same code in CLI Broadsworde 3 2,872 Dec-11-2018, 09:06 AM
Last Post: Broadsworde
  Mocks with pytest Vector22 1 2,581 May-21-2018, 10:45 AM
Last Post: Vector22
  whats the error in this code in python 3.0 as this is running 2.0 pyhon ekansh 7 5,351 Feb-05-2018, 06:47 AM
Last Post: seco
  Pytest-html hook help flashnet1 5 10,924 Jan-19-2018, 01:52 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020