Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit954b6df

Browse files
committed
improve coverage collection
1 parentccdf536 commit954b6df

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

‎.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
source=.
3+
omit=./env/*

‎run_tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ fi
1616
cd ..
1717
$virtualenv env
1818
export VIRTUAL_ENV_DISABLE_PROMPT=1
19+
export PYTHONPATH=$(pwd)
1920
source env/bin/activate
2021
cd -
2122

2223
# install utilities
2324
$pip install coverage flake8
2425

25-
# install testgres
26+
# install testgres' dependencies
2627
$pip install.
2728

2829
# test code quality
2930
flake8.
3031

3132
# run tests
32-
cd testgres/tests
33-
coverage run test_simple.py
33+
coverage run tests/test_simple.py
3434

3535
# show coverage
3636
coverage report

‎setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
fromdistutils.coreimportsetup
1+
fromsetuptoolsimportsetup
2+
23
setup(
34
name='testgres',
45
packages=['testgres'],
56
version='0.4.0',
6-
description='Testing utility forpostgresql and its extensions',
7+
description='Testing utility forPostgreSQL and its extensions',
78
license='PostgreSQL',
89
author='Ildar Musin',
910
author_email='zildermann@gmail.com',

‎testgres/tests/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp