Skip to content

Commit 5c01228

Browse files
committed
Test cleanup; more shields
1 parent 16691f5 commit 5c01228

File tree

3 files changed

+4
-41
lines changed

3 files changed

+4
-41
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
[![PyPI - Version](https://img.shields.io/pypi/v/firebird-base.svg)](https://pypi.org/project/firebird-base)
66
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/firebird-base.svg)](https://pypi.org/project/firebird-base)
77
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
8+
[![PyPI - Downloads](https://img.shields.io/pypi/dm/firebird-base)](https://pypi.org/project/firebird-base)
9+
[![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/pypi/firebird-base)](https://libraries.io/pypi/firebird-base)
810

911
The firebird-base package is a set of Python 3 modules commonly used by [Firebird Project](https://github.com/FirebirdSQL)
1012
in various development projects (for example the firebird-driver or Saturnin). However, these

tests/conftest.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

tests/test_buffer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_safe_ord():
5858
with pytest.raises(TypeError): # Should fail on multi-byte
5959
safe_ord(b'AB')
6060

61-
def test_factory_bytes_create(factory):
61+
def test_factory_bytes_create():
6262
"""Tests buffer creation edge cases for BytesBufferFactory."""
6363
bf = BytesBufferFactory()
6464
# Size specified, init shorter
@@ -84,7 +84,7 @@ def test_factory_bytes_create(factory):
8484
# Raw type
8585
assert isinstance(bf.get_raw(buf), bytearray)
8686

87-
def test_factory_ctypes_create(factory):
87+
def test_factory_ctypes_create():
8888
"""Tests buffer creation edge cases for CTypesBufferFactory."""
8989
cbf = CTypesBufferFactory()
9090
# Size specified, init shorter

0 commit comments

Comments
 (0)