SensoroApiAutoTest/common/settings.py

24 lines
518 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# !/usr/bin/python
# -*- coding:utf-8 -*-
# @Time : 2022/7/7 11:45
# @Author : wangjie
# @File : settings.py
# @project : SensoroApi
from common.models import Environment
# 设置运行的环境变量
ENV = Environment.TEST
# 设置是否需要发送邮件Ture发送False不发送
IS_SEND_EMAIL = False
# 设置是否需要发送企业微信消息Ture发送False不发送
IS_SEND_WECHAT = False
# 设置是否开启debug日志
LOG_DEBUG = False
# 设置是否开启控制台日志
LOG_CONSOLE = True