Skip to content

Commit

Permalink
Merge 02d5be8 into e0764e8
Browse files Browse the repository at this point in the history
  • Loading branch information
dernatsch committed Jan 17, 2019
2 parents e0764e8 + 02d5be8 commit 98deda9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -3,5 +3,9 @@ python:
- "3.6"
install:
- pip install .
- pip install python-coveralls
- pip install pytest-cov
script:
- pytest
- pytest tests --cov=wingstructure
after_success:
- coveralls
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

![lift distribution](examples/Liftdistribution.png)

[![PyPI version](https://badge.fury.io/py/wingstructure.svg)](https://badge.fury.io/py/wingstructure) [![Documentation Status](https://readthedocs.org/projects/wingstructure/badge/?version=latest)](https://wingstructure.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/akafliegdarmstadt/wingstructure.svg?branch=master)](https://travis-ci.com/akafliegdarmstadt/wingstructure) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1d3c65877733486cace59b0ffe890407)](https://www.codacy.com/app/helo9/wingstructure?utm_source=github.com&utm_medium=referral&utm_content=helo9/wingstructure&utm_campaign=Badge_Grade)
[![PyPI version](https://badge.fury.io/py/wingstructure.svg)](https://badge.fury.io/py/wingstructure) [![Documentation Status](https://readthedocs.org/projects/wingstructure/badge/?version=latest)](https://wingstructure.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/akafliegdarmstadt/wingstructure.svg?branch=master)](https://travis-ci.com/akafliegdarmstadt/wingstructure) [![Coverage Status](https://coveralls.io/repos/github/akafliegdarmstadt/wingstructure/badge.svg?branch=coveralls)](https://coveralls.io/github/akafliegdarmstadt/wingstructure?branch=coveralls) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1d3c65877733486cace59b0ffe890407)](https://www.codacy.com/app/helo9/wingstructure?utm_source=github.com&utm_medium=referral&utm_content=helo9/wingstructure&utm_campaign=Badge_Grade)

## Installation
pip can be used to install the package:
Expand Down
Empty file added tests/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions tests/test_geometry.py
Expand Up @@ -26,7 +26,7 @@ def test_section_sorting():


def test_create_from_dict():
import wingdict as wd
from . import wingdict as wd

wing = geometry.Wing.create_from_dict(wd.wingdict)

Expand All @@ -50,4 +50,4 @@ def test_mac():
assert wing.area/2 == 247e3
assert np.isclose(mac.pos.y, 175.4723)
assert np.isclose(mac.chord, 643.0229)


0 comments on commit 98deda9

Please sign in to comment.