DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1
import unittest

pyats: This module was a gift from Cisco to the development
community. Originally named Genie, it was an internal testing
framework used by Cisco developers to validate their code for Cisco
products. pyats is an incredible framework for constructing
automated testing for infrastructure as code. Use the following
command to install this module:
Click here to view code image

Many parts of the pyats framework can be imported. Check the
documentation on how to use it.

Chapter 5, “Working with Data in Python,” places more
focus on techniques and tools used to interact with data
in Python. This will round out the key Python knowledge
needed to follow along with the examples in the rest of
the book.


EXAM PREPARATION TASKS


As mentioned in the section “How to Use This Book” in
the Introduction, you have a couple of choices for exam
preparation: the exercises here, Chapter 19, “Final
Preparation,” and the exam simulation questions on the
companion website.


REVIEW ALL KEY TOPICS


Review the most important topics in this chapter, noted
with the Key Topic icon in the outer margin of the page.
Table 4-2 lists these key topics and the page number on
which each is found.


pip install pyats (just installs the core fra
documentation for more options)
Free download pdf