Flask REST API Python series: How to unit test for your API | unittest Python

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 13

  • @ErikBurdett
    @ErikBurdett 3 года назад +2

    I was having the hardest time just getting a response from my deployed DB and tried out a bunch of imports like flaskr and pytest and this is the only way I've been able to get anything at all. Thank you! Your video put me back on the right track for my app.

    • @CodeWithPrince
      @CodeWithPrince  3 года назад +1

      Am glad it did, all the best with your project Erik 😊

  • @sasibot8510
    @sasibot8510 2 года назад +1

    looks like fast API, anyhow a great video

  • @deli5777
    @deli5777 2 года назад +1

    This really helped me get started. I think some of the 'what' and 'why' are breezed over so quickly though. Can you do an in-depth video on what kind of things you'd want to test and why?

    • @CodeWithPrince
      @CodeWithPrince  2 года назад

      Hey Deli, thanks for the feedback. I'll improve on that

  • @zeki7540
    @zeki7540 2 года назад +1

    simple, clean and comprehensible. Thank you!

  • @zhenyasakal9334
    @zhenyasakal9334 2 года назад +1

    Thanks for your tutorial! It really helped me a lot!

  • @nayaresoledad
    @nayaresoledad 2 года назад +1

    best video explaining this, than you so much

  • @danmeditationsoothingrelax5542
    @danmeditationsoothingrelax5542 Год назад +1

    Please while trying out the tester.test1.getalltodos() I got an error saying "No connection could be made because the target machine actively refused it" please how can I solve this error and I am using a Windows machine

    • @CodeWithPrince
      @CodeWithPrince  Год назад

      How you in anyway set a limit or restricted the origins that can make a request to your server?

    • @danmeditationsoothingrelax5542
      @danmeditationsoothingrelax5542 Год назад

      No I didn't set an origin in any form
      Do you have an idea on how I could establish the connection or check if a restriction has been set in order solve the error