| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | update test for upstream added gzip extensions | Adam Hupp | 2023-01-10 | 1 | -2/+1 |
| | | |||||
| * | docker test cleanup | Adam Hupp | 2023-01-10 | 8 | -23/+19 |
| | | |||||
| * | use tox for all the multi-version testing | Adam Hupp | 2022-05-22 | 7 | -57/+34 |
| | | |||||
| * | rename test to match standard naming rules, so pytest finds it: ↵ | Adam Hupp | 2022-04-25 | 2 | -1/+1 |
| | | | | | https://docs.pytest.org/en/6.2.x/goodpractices.html#test-discovery | ||||
| * | less surprising use of abspath | Adam Hupp | 2022-04-25 | 1 | -1/+1 |
| | | |||||
| * | correctly find path to testdata when running from root | Adam Hupp | 2022-04-25 | 1 | -1/+5 |
| | | |||||
| * | improve test script name clarity; expand test docs; cleanup docker run script | Adam Hupp | 2022-04-25 | 3 | -8/+17 |
| | | |||||
| * | Support file 5.41. | Martin Liska | 2021-10-22 | 1 | -1/+1 |
| | | | | | | In https://github.com/file/file/commit/7d9b0f0d853957ad88dae0f440fecd58d2740ca7, the MIME was changed for Python bytecode. | ||||
| * | Support os.PathLike types | Adam Hupp | 2021-10-04 | 1 | -0/+8 |
| | | | | | See https://github.com/ahupp/python-magic/pull/251 | ||||
| * | fix alpine library loading | Adam Hupp | 2021-06-03 | 7 | -1/+1 |
| | | |||||
| * | Update tests and docker config for newer versions | Adam Hupp | 2021-06-01 | 4 | -5/+10 |
| | | |||||
| * | add docker test for alpine linux | Adam Hupp | 2021-02-16 | 1 | -0/+4 |
| | | |||||
| * | remove from_open_file, since its duplicative with from_descriptor and hasnt ↵ | Adam Hupp | 2021-01-15 | 1 | -9/+0 |
| | | | | | been released yet | ||||
| * | skip magic_descriptor tests in centos 7 | Adam Hupp | 2021-01-15 | 4 | -4/+22 |
| | | |||||
| * | Revert "Remove Python2 from the tests" | Adam Hupp | 2021-01-15 | 7 | -3/+8 |
| | | | | | This reverts commit 4a810b4f30f161b889d59cf2a207820fc0c731b7. | ||||
| * | Merge branch 'master' into redo-compat | Adam Hupp | 2021-01-15 | 1 | -2/+1 |
| |\ | |||||
| | * | Add support for Python 3.9 | Miroslav Šedivý | 2021-01-11 | 1 | -1/+1 |
| | | | |||||
| * | | Reformat according to PEP | SchoolGuy | 2021-01-13 | 3 | -19/+24 |
| | | | | | | | | | I achieved this via the PyCharm Reformat Shortcut | ||||
| * | | Fix path of the test pdf | SchoolGuy | 2021-01-13 | 1 | -2/+1 |
| | | | |||||
| * | | Remove Python2 from the tests | SchoolGuy | 2021-01-13 | 7 | -7/+4 |
| | | | |||||
| * | | fix libmagic test | Adam Hupp | 2018-01-14 | 1 | -1/+5 |
| | | | |||||
| * | | Merge in compatability mode with libmagic | Adam Hupp | 2017-12-04 | 2 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The libmagic distribution uses the same package name `magic` as python-magic, but has an incompatible API. This change merges in a copy of libmagic's bindings, wrapped to give deprecation warnings. This is intended to a) mitigate the short-term pain to users and packagers who need to figure out which to use, and b) give us a path to merging the two sets of bindings. I'd be happy for libmagic to take over this package if we could find a path to it. | ||||
| * | | add from_open_file to match libmagic binding featureset | Adam Hupp | 2017-12-04 | 1 | -0/+6 |
| |/ | |||||
| * | Added support for magic_descriptor routine | psrok1 | 2020-12-07 | 1 | -0/+7 |
| | | |||||
| * | Handle libmagic versions that don't support MAGIC_EXTENSION | Adam Hupp | 2020-11-06 | 1 | -5/+10 |
| | | | | | | | | | | | extension support was added to libmagic in 2015 in 9190a18d09f25fb0ca6abe1fcbdba780f5077e45. This change: - updates the test to handle various verions that return garbage / empty string.s - throws an exception in magic.Magic if extension support is requested and we know its not supported. | ||||
| * | MAGIC_EXTENSION support (file --extension) | darkbarker | 2020-10-22 | 1 | -0/+7 |
| | | |||||
| * | support changed mime types in test | Adam Hupp | 2020-09-15 | 1 | -4/+8 |
| | | |||||
| * | Fix tests with file 5.39 | Luca Weiss | 2020-09-07 | 1 | -4/+6 |
| | | |||||
| * | add docker tests for archlinux | Adam Hupp | 2020-09-07 | 1 | -0/+5 |
| | | |||||
| * | Make magic_[version|setparam|getparam] optional | Adam Hupp | 2020-05-05 | 1 | -6/+18 |
| | | | | | | These aren't present in ancient versions of libmagic, so only fetch optionally and throw NotImplementedError if called. | ||||
| * | Add docker tests for centos7 & 8 | Adam Hupp | 2020-05-05 | 2 | -0/+10 |
| | | | | | Since we have some breakage due to incompatible libraries there | ||||
| * | Update for deprecation of testing in setup.py | Adam Hupp | 2020-05-05 | 1 | -0/+6 |
| | | | | | | test_suite is deprecated in setup.py, so remove it and replace the command in .travis.yml with directly running the test | ||||
| * | Improve test coverage | Adam Hupp | 2020-05-05 | 5 | -21/+35 |
| | | | | | | Make sure we fail early if any versions fail, and move to a python test runner since I can never remember how to use bash. | ||||
| * | Add alternative output for Parquet file | Adam Hupp | 2020-03-31 | 1 | -2/+2 |
| | | |||||
| * | Add script to drive linux docker tests now that it supports WSL2, and fix ↵ | Adam Hupp | 2020-03-31 | 2 | -2/+2 |
| | | | | | focal dockerfile | ||||
| * | Adding snappy parquet to test | Kyle Prifogle | 2020-03-30 | 2 | -0/+2 |
| | | |||||
| * | Expose magic_version as magic.version(), which returns an integer ↵ | Adam Hupp | 2020-01-24 | 1 | -0/+3 |
| | | | | | | | representing the version number. re: https://github.com/ahupp/python-magic/issues/204 | ||||
| * | Add dockerfiles for running tests on various Ubuntu LTS versions | Adam Hupp | 2020-01-11 | 6 | -2/+39 |
| | | |||||
| * | Hopefully fix #105 | Adam Hupp | 2020-01-11 | 1 | -1/+5 |
| | | |||||
| * | actually fix CI | Adam Hupp | 2019-12-11 | 2 | -2/+1 |
| | | |||||
| * | Fix path for CI | Adam Hupp | 2019-12-11 | 1 | -0/+0 |
| | | |||||
| * | Fix https://github.com/ahupp/python-magic/issues/190 | Adam Hupp | 2019-12-11 | 3 | -1/+6 |
| | | |||||
| * | Updated constructor to accept the raw flag and pass it to the underlying ↵ | rmspeers | 2018-09-20 | 2 | -0/+20 |
| | | | | | library. Helpful for cases where unicode chars exist in match results. | ||||
| * | Use INDIR_MAX rather than BYTES_MAX in tests since the latter wasn'tfix-ci | Adam Hupp | 2018-09-01 | 1 | -6/+2 |
| | | | | | | supported until recently. Also, return .value from the ctypes wrapper so callers aren't required to. | ||||
| * | getparam/setparam support #163 | Christoph Biedl | 2018-08-16 | 1 | -0/+8 |
| | | |||||
| * | Apply change from Corin-EU to allow tests to be run from any directory | Adam Hupp | 2018-08-16 | 1 | -3/+5 |
| | | |||||
| * | fixes to run.sh | Adam Hupp | 2018-08-16 | 1 | -2/+2 |
| | | |||||
| * | Make test runner handle missing python versions, based on a change from | Adam Hupp | 2018-08-16 | 1 | -4/+11 |
| | | | | | Corin-EU | ||||
| * | Merge pull request #177 from sbraz/buffer | Adam Hupp | 2018-08-15 | 1 | -11/+14 |
| |\ | | | | | Tests: allow differences when reading a buffer or a file, fixes #173 | ||||
| | * | Tests: allow differences when reading a buffer or a file, fixes #173 | Louis Sautier | 2018-08-14 | 1 | -11/+14 |
| | | | | | | | | | | | Also remove the loop in order to avoid analyzing files or buffers for each expected value, replace it with a call to assertIn(). | ||||
