官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The config.py file is where the settings for each development environment exist."

A block of code is set as follows:

class TestDevelopmentConfig(TestCase):

def create_app(self):
app.config.from_object('config.DevelopmentConfig')
return app

def test_app_is_development(self):
self.assertTrue(app.config['DEBUG'] is True)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

    @patch('views.rpc_command')
def test_sucess(self, rpc_command_mock):
"""Test to insert a News."""

Any command-line input or output is written as follows:

$ docker-compose -f docker-compose.yml up --build –d

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "The following screenshot represents the interface of DATADOG:"

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 京山县| 成安县| 郯城县| 东宁县| 石渠县| 钟祥市| 梅河口市| 井陉县| 渭南市| 海丰县| 镇赉县| 丹凤县| 桦南县| 巴彦县| 泌阳县| 桑日县| 洞头县| 武隆县| 怀安县| 嘉定区| 巍山| 嵊州市| 盐城市| 华宁县| 余干县| 富裕县| 依兰县| 保亭| 博兴县| 维西| 万宁市| 朔州市| 永安市| 偏关县| 北川| 清河县| 余姚市| 清徐县| 阿荣旗| 凤翔县| 和林格尔县|