Book Image

Building RESTful Python Web Services with Django [Video]

By : Gaston C. Hillar
Book Image

Building RESTful Python Web Services with Django [Video]

By: Gaston C. Hillar

Overview of this book

<p>Python is the language of choice for millions of developers worldwide, due to its gentle learning curve and its vast applications in day-to-day programming. It builds great and reliable web services in the RESTful architecture. This video will show you the best tools you can use to build your own Python web services. </p><p> </p><p>You’ll start by learning how to develop RESTful APIs using the Django framework combined with related libraries and tools. We’ll delve into the Django framework to build various web services. We’ll show you everything you need to successfully develop RESTful APIs with the Django framework such as request handling, URL mapping, serialization, validation, authentication, authorization, and databases. </p><p> </p><p>By the end of the video, you’ll have a deep understanding of the stacks needed to build RESTful web services. </p><p> </p><p>The code bundle for this course is available at https://github.com/PacktPublishing/Building-RESTful-Python-Web-Services-with-Django/</p>
Table of Contents (8 chapters)
Chapter 8
Defining and Executing Unit Tests
Content Locked
Section 1
Setting Up Unit Tests
Let’s begin this section by making the necessary configurations to use the django_nose.NoseTestRunnerclass to run all the tests we code. We will use the necessary configurations to improve the accuracy of the test coverage measurements. - Install the coverage and django-nose packages - Add 'django_nose' to the installed apps in the settings.py file - Configure thedjango_nose.NoseTestRunner class