摘要:
def test_json_extractor(obj:dict,expr): # the obj must be dict get_value=jsonpath.jsonpath(obj,expr) return get_value or None def test_or_return(): "" 阅读全文
posted @ 2020-11-16 23:49
不带R的墨菲特
阅读(432)
评论(0)
推荐(0)
摘要:
from string import Templateimport jsonclass ReplaceTepmlate(Template): delimiter ="${}"def test_example1(): a={"a":[{"c":1,'b':'${env}'},{"c":"${ip}"} 阅读全文
posted @ 2020-11-16 22:57
不带R的墨菲特
阅读(393)
评论(0)
推荐(0)
摘要:
在 Linux 操作系统下,如何添加一个新用户到一个特定的组中?如何同时将用户添加到多个组中?又如何将一个已存在的用户移动到某个组或者给他增加一个组?对于不常用 Linux 的人来讲,记忆 Linux 那繁多的命令行操作真是件不容易的事。 在 Linux 中,增加用户或改变用户的组属性可以使用 us 阅读全文
posted @ 2020-11-16 22:24
不带R的墨菲特
阅读(624)
评论(1)
推荐(0)