FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add tests for fiona · inwaves/docker-python@03e180b · GitHub

Commit 03e180b

Browse files
committed
add tests for fiona
1 parent 2ab8c62 commit 03e180b

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎tests/data/coutwildrnp.shp‎

107 KB
Binary file not shown.

‎tests/data/coutwildrnp.shx‎

636 Bytes
Binary file not shown.

‎tests/test_fiona.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import unittest
2+
3+
import fiona
4+
import pandas as pd
5+
6+
class TestFiona(unittest.TestCase):
7+
def test_read(self):
8+
with fiona.open("/input/tests/data/coutwildrnp.shp") as source:
9+
self.assertEqual(67, len(source))
10+

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL