犯了一个低级错误 将测试用例写在COMMON目录里,导致无法用pytest执行测试,代码执行了也 没有日志打印 回头想想 pytest用例 先找的是 包名为 test开头的 然后执行test的用例模块 所以需要用test关键字命名包、模块、以及用例名称!!!!! ...
分类:
其他好文 时间:
2021-03-09 13:24:31
阅读次数:
0
创建线程的三种方式 1.继承Thread类 2.实现Runnable接口 3.实现Callable接口 继承Thread类 public Test extends Thread{ public void run(){ ... }//必须重写Thread类的Run方法 ... public stati ...
分类:
编程语言 时间:
2021-03-09 13:00:41
阅读次数:
0
第一种 类似于python的re.search("\d+","123") import java.io.*; import java.util.*; import java.util.regex.*; public class test { public static void readFile() ...
分类:
编程语言 时间:
2021-03-08 14:20:53
阅读次数:
0
1.union 和 union all 前者可以去重 select sex,address from test where dt='20210218' union all select sex,address from test where dt='20210218'; + + +--+ | sex ...
分类:
其他好文 时间:
2021-03-08 14:17:52
阅读次数:
0
Java的可变参数 public class Demo16 { public static void main(String[] args) { Demo16 demo16 = new Demo16();//调用与实例变量调用一样 //因为test没有static所以不能直接调用 demo16.te ...
分类:
编程语言 时间:
2021-03-08 13:37:56
阅读次数:
0
作用域 def test1(): print("in the test1")def test(): print("in the test") return test1 》test1 是函数test1的IP地址s = test() >运作test()结果是 in the test ,然后返回test1 ...
分类:
其他好文 时间:
2021-03-08 13:36:19
阅读次数:
0
title: stm32cubemx+clion环境搭建 date: 2021-01-23 13:32:05 tags: 环境搭建 cover: https://s3.ax1x.com/2021/01/23/s7unQx.png 为什么搭建 需要找到一个keil的替代品用来编译STM32代码。 环境 ...
分类:
其他好文 时间:
2021-03-06 15:06:50
阅读次数:
0
1、引用pom文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <group ...
分类:
编程语言 时间:
2021-03-06 14:34:47
阅读次数:
0
0 简介 Yarn-per-job模式提交流程 总图 1 程序起点 2 创建 Yarn 客户端应用程序 2.1 程序入口 2.2 解析输入参数 2.3 选择创建哪种类型的客户端 2.4 获取有效配置 2.5 调用用户代码的 main 方法 2.6 调用执行环境的 execute 方法 ...
分类:
其他好文 时间:
2021-03-05 13:16:30
阅读次数:
0
增加新的序列 #!/usr/bin/env python# -*- coding:utf-8 -*-# <editable>def execute(): # <editable> inputs = {"table": 'test', } params = { "left_columns": "id, ...
分类:
编程语言 时间:
2021-03-04 13:13:21
阅读次数:
0