DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)
Figure 5-2 Testing Pyramid Python has a built-in unit test module, named unittest. This module is quite full featured and can su ...
Certain conventions must be followed for a unit test. While you can create a unit test that has the code that you want to test a ...
self.assertAlmostEqual(area_of_circle(1), pi) self.assertAlmostEqual(area_of_circle(0), 0) self.assertAlmostEqual(area_of_circle ...
Now you can check to see if a negative number causes a problem. Create a new function under your previous test_area function. Na ...
----------------------- Ran 2 tests in 0.001s FAILED (failures=1) The first check is still good, so you see one dot at the top, ...
>>> area_of_circle(-1) Traceback (most recent call last): File "<pyshell>", line 1, in <module> File "/User ...
REVIEW ALL KEY TOPICS Review the most important topics in this chapter, noted with the Key Topic icon in the outer margin of the ...
unit test integration test functional test ADDITIONAL RESOURCES Reading Data from a File in Python: https://developer.cisco.com/ ...
Chapter 6 Application Programming Interfaces (APIs) This chapter covers the following topics: Application Programming Interfaces ...
or jump to the “Exam Preparation Tasks” section. If you are in doubt about your answers to these questions or your own assessmen ...
1. Pushing network configuration changes down to devices 2. Increasing security 3. Streaming telemetry 4. Sending information to ...
FOUNDATION TOPICS APPLICATION PROGRAMMING INTERFACES (APIS) For communicating with and configuring networks, software developers ...
Northbound APIs Northbound APIs are often used for communication from a network controller to its management software. For examp ...
API causes an application to wait for a response from the API in order to continue processing data or function normally. This ca ...
users can change the title, add hashtags, and even retrieve the URL to which the video will be posted once it is finished being ...
different HTTP functions to interact with data. Table 6-2 lists some of the most common HTTP functions and their associated use ...
Table 6-3 CRUD Functions and Sample Use Cases CRUD FunctionActionUse Case C R E A T E Inserts data inside a database or an appli ...
development skills in order to become a more efficient network engineer with coding skills. Note Chapter 7 provides more detail ...
used in APIs. The downfall of basic authentication is that the credentials are passed unencrypted. This means that if the transp ...
you’re looking to do multiple API calls, it isn’t convenient to manually enter the API key string every time. This is where the ...
«
9
10
11
12
13
14
15
16
17
18
»
Free download pdf