diff options
| author | Adam Hupp <adam@hupp.org> | 2020-03-30 10:26:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-30 10:26:57 -0700 |
| commit | cb754dd2cb2a68b59644a95b860629156606363d (patch) | |
| tree | 17e38c831887426b3fd654f5457beefc90fe09af /test | |
| parent | 0e977c98649b4ed4533a7700fbc5fea6895bfe71 (diff) | |
| parent | d888f029a49854c7733317ebe0a73eb224549638 (diff) | |
| download | python-magic-cb754dd2cb2a68b59644a95b860629156606363d.tar.gz | |
Merge pull request #207 from kyprifog/snappy
Adding snappy parquet to test
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test.py | 2 | ||||
| -rw-r--r-- | test/testdata/test.snappy.parquet | bin | 0 -> 654 bytes |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/test.py b/test/test.py index d067b15..266d214 100755 --- a/test/test.py +++ b/test/test.py @@ -64,6 +64,7 @@ class MagicTest(unittest.TestCase): 'magic._pyc_': 'application/octet-stream', 'test.pdf': 'application/pdf', 'test.gz': ('application/gzip', 'application/x-gzip'), + 'test.snappy.parquet': 'application/octet-stream', 'text.txt': 'text/plain', b'\xce\xbb'.decode('utf-8'): 'text/plain', b'\xce\xbb': 'text/plain', @@ -90,6 +91,7 @@ class MagicTest(unittest.TestCase): 'from Unix, original size modulo 2^32 15' ), 'text.txt': 'ASCII text', + 'test.snappy.parquet': 'Apache Parquet' }, buf_equals_file=False) finally: del os.environ['TZ'] diff --git a/test/testdata/test.snappy.parquet b/test/testdata/test.snappy.parquet Binary files differnew file mode 100644 index 0000000..c2f96f6 --- /dev/null +++ b/test/testdata/test.snappy.parquet |
