blob: 7b85e3202c4109e1f5d830c99ad3caabb8553126 [file] [log] [blame]
Zack Williams045b63d2019-01-22 16:30:57 -07001; Copyright 2017-present Open Networking Foundation
2;
3; Licensed under the Apache License, Version 2.0 (the "License");
4; you may not use this file except in compliance with the License.
5; You may obtain a copy of the License at
6;
7; http://www.apache.org/licenses/LICENSE-2.0
8;
9; Unless required by applicable law or agreed to in writing, software
10; distributed under the License is distributed on an "AS IS" BASIS,
11; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12; See the License for the specific language governing permissions and
13; limitations under the License.
14
Zack Williams9a42f872019-02-15 17:56:04 -070015[tox]
16envlist = py27,py35,py36,py37
17skip_missing_interpreters = true
18
19[testenv]
20deps =
21 -r requirements.txt
22 nose2
23 flake8
24 mock
25
26commands =
27 nose2 -c tox.ini --verbose --junit-xml
28; only check the code in xosgenx, tests aren't flake8 clean yet
29 flake8 xosgenx
Zack Williams045b63d2019-01-22 16:30:57 -070030
31[flake8]
Zack Williams9a42f872019-02-15 17:56:04 -070032max-line-length = 119
33
34[unittest]
35plugins=nose2.plugins.junitxml
36
37[junit-xml]
38path=nose2-results.xml
39
40[coverage]
41always-on = True
42coverage = xosgenx
43coverage-report =
44 xml
45 term