官方实例
# content of test_assert1.pydef f():return 3def test_function():assert f() 4def test_assert_desc():a f()# assert a % 2 0assert a % 2 0, "value was odd, should be even"解读与实操
pytest允许你使用标准python断言来验证测试中的期望和值&…
1、Spark On Hive的配置
1)、在Spark客户端配置Hive On Spark
在Spark客户端安装包下spark-2.3.1/conf中创建文件hive-site.xml:
配置hive的metastore路径
<configuration><property><name>hive.metastore.uris</name><v…