Unit Testing in Python with pytest | Creating Custom Fixture (Part-6)

Indian Pythonista August 16, 2020
Video Thumbnail
Indian Pythonista Logo

Indian Pythonista

View Channel

About

A place where you will find anything and everything related to Python! I regularly post videos on tips, tricks, hacks and concepts related to Python.

Video Description

In this video, learn how to create a custom pytest fixture. Code: https://github.com/nikhilkumarsingh/pytest-tut ------------------------------------------------------------ Explore my tutorials: https://nikhilkumarsingh.github.io/tutorials/ More awesome topics covered here: WhatsApp Bot using Twilio and Python : https://tinyurl.com/y9n9ott5 Serverless Rest API using AWS and Python : https://tinyurl.com/y8yg4vem Creating Chat Application using Flask, Socket.IO & mongoDB : https://tinyurl.com/y8kbn4xu Curses in Python : https://tinyurl.com/y8ws3x4l Discovering Hidden APIs : https://tinyurl.com/y7sdegoq RegEx in Python : https://tinyurl.com/y84cnuns Python for Data Science : https://tinyurl.com/yd7x6j5e Introduction to Pandas : https://tinyurl.com/ycr4qytt Introduction to Matplotlib : https://tinyurl.com/y8caem3r Introduction to Numpy : https://tinyurl.com/yc8uhtn9 Functional Programming in Python : https://tinyurl.com/ybubzum6 Python Package Publishing : https://tinyurl.com/ya2fn3wb Multithreading in Python : https://tinyurl.com/ycnummb8 Multiprocessing in Python : https://tinyurl.com/y8qkjqtx Parallel Programming in Python : https://tinyurl.com/yakl5udt Concurrent Programming in Python : https://tinyurl.com/y9ppkkhc Dataclasses in Python : https://tinyurl.com/y8zfqleq Exploring YouTube Data API : https://tinyurl.com/y7jhs8rm Just For Fun : https://tinyurl.com/y9on8gb5 Exploring AWS : https://tinyurl.com/ydxmhhz9 Jupyter Notebook (Tips, Tricks and Hacks) : https://tinyurl.com/y8qdhcrp Decorators in Python : https://tinyurl.com/y7ghraa9 Inside Python : https://tinyurl.com/yd8xqbjj Exploring datetime : https://tinyurl.com/y96jzylm Collections in Python : https://tinyurl.com/ybxltgvk Networking : https://tinyurl.com/y97eroql Computer Vision for noobs : https://tinyurl.com/y8pxz436 Python for web : https://tinyurl.com/y829py3g Awesome Linux Terminal : https://tinyurl.com/y8no3zso Intermediate Python : https://tinyurl.com/yasmecaw Tips, tricks, hacks and APIs : https://tinyurl.com/y9xqzzl4 Optical Character Recognition : https://tinyurl.com/ybt3to6q Facebook Messenger Bot Tutorial : https://tinyurl.com/y9wvjc9g Facebook: https://www.facebook.com/IndianPythonista Github: https://www.github.com/nikhilkumarsingh Twitter: https://twitter.com/nikhilksingh97 ------------------------------------------------------------ #python #pytest #tutorial

You May Also Like

Essential Trail Cam Gear

AI-recommended products based on this video

Loading...
GardePro E6 Trail Camera, WiFi Bluetooth, 48MP 1296p, No-Glow IR, Night Vision Motion Activated Waterproof, Game Camera, Brown

GardePro E6 Trail Camera, WiFi Bluetooth, 48MP 1296p, No-Glow IR, Night Vision Motion Activated Waterproof, Game Camera, Brown

(5,182)
$49.99
FREE delivery Sun, Oct 26
200+ bought in past month
Loading...
Inland 32GB Class 10 SDHC Flash Memory Card Standard Full Size SD Card USH-I U1 Trail Camera by Micro Center (2 Pack)

Inland 32GB Class 10 SDHC Flash Memory Card Standard Full Size SD Card USH-I U1 Trail Camera by Micro Center (2 Pack)

(41,906)
$35.32$35.15
FREE delivery Sun, Jun 15
Loading...
SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

(71,074)
$21.99$16.59
FREE delivery Sun, Aug 10 on your first order
500+ bought in past month
Loading...
SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN
Best Seller

SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN

(71,074)
$29.99$26.61
FREE delivery Sun, Aug 10 on your first order
4K+ bought in past month
Loading...
SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

(77,138)
$379.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
AC Power Cord Cable Fit for Sony PS5 PS4 PS3 Slim PlayStation 5 4 3, Xbox Series X/S, Xbox One X/S, TV, Printer Universal 2 Prong Supply Replacement - (ETL Listed Cable)

AC Power Cord Cable Fit for Sony PS5 PS4 PS3 Slim PlayStation 5 4 3, Xbox Series X/S, Xbox One X/S, TV, Printer Universal 2 Prong Supply Replacement - (ETL Listed Cable)

(5,351)
$8.49
Prime
500+ bought in past month
Loading...
Dell P2425H Computer Monitor Screen 24" 16:9 IPS Display 100Hz w/Stand - 1 Year Warranty, Full HD, 1920 x 1080 with Power Cord + DisplayPort Cable + HDMI Cable + USB 3.0 Cable + Microfiber Cloth

Dell P2425H Computer Monitor Screen 24" 16:9 IPS Display 100Hz w/Stand - 1 Year Warranty, Full HD, 1920 x 1080 with Power Cord + DisplayPort Cable + HDMI Cable + USB 3.0 Cable + Microfiber Cloth

(57)
$981.72
Loading...
130W USB C Laptop Charger Compatible with Dell Precision 5550 5560 3560 3590 3550 5540 5570 5750 5530 5520 5510 Latitude 5520 5510 5420 7410 7310 7210 9410 9510 9520 XPS 15 17 AC Adapter Power Cord

130W USB C Laptop Charger Compatible with Dell Precision 5550 5560 3560 3590 3550 5540 5570 5750 5530 5520 5510 Latitude 5520 5510 5420 7410 7310 7210 9410 9510 9520 XPS 15 17 AC Adapter Power Cord

(13)
$29.99
FREE delivery Sun, Aug 24 on your first order
Loading...
65W 45W USB C Laptop Charger Compatible with Dell Latitude 5420 5430 5520 5530 7340 7430 Inspiron 14 16 XPS 13 Chromebook 3100 Dell Computer Type C Fast Charging AC Adapter Power Cord

65W 45W USB C Laptop Charger Compatible with Dell Latitude 5420 5430 5520 5530 7340 7430 Inspiron 14 16 XPS 13 Chromebook 3100 Dell Computer Type C Fast Charging AC Adapter Power Cord

(7)
$19.99
FREE delivery Sun, Aug 24 on your first order