Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ArangoDB Container support #221

Merged
merged 15 commits into from Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Expand Up @@ -30,6 +30,7 @@ jobs:
- selenium.py
- webdriver.py
- keycloak.py
- arangodb.py
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -22,6 +22,7 @@ Currently available features:
* ClickHouse container
* Microsoft SQL Server container
* Generic docker containers
* ArangoDB container
* LocalStack
* RabbitMQ
* Keycloak
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -66,7 +66,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
3 changes: 2 additions & 1 deletion docs/database.rst
@@ -1,7 +1,7 @@
Database containers
===================

Allows to spin up database images such as MySQL, PostgreSQL, MariaDB, Oracle XE, MongoDb, ClickHouse or Neo4j.
Allows to spin up database images such as MySQL, PostgreSQL, MariaDB, Oracle XE, MongoDb, ClickHouse, Neo4j or ArangoDB

.. autoclass:: testcontainers.mysql.MySqlContainer
.. autoclass:: testcontainers.mysql.MariaDbContainer
Expand All @@ -12,3 +12,4 @@ Allows to spin up database images such as MySQL, PostgreSQL, MariaDB, Oracle XE,
.. autoclass:: testcontainers.mssql.SqlServerContainer
.. autoclass:: testcontainers.clickhouse.ClickHouseContainer
.. autoclass:: testcontainers.neo4j.Neo4jContainer
.. autoclass:: testcontainers.arangodb.ArangoDbContainer
2 changes: 1 addition & 1 deletion requirements.in
@@ -1,4 +1,4 @@
-e file:.[docker-compose,mysql,oracle,postgresql,selenium,google-cloud-pubsub,mongo,redis,mssqlserver,neo4j,kafka,rabbitmq,clickhouse,keycloak]
-e file:.[docker-compose,mysql,oracle,postgresql,selenium,google-cloud-pubsub,mongo,redis,mssqlserver,neo4j,kafka,rabbitmq,clickhouse,keycloak,arangodb]
codecov>=2.1.0
cryptography<37
flake8<3.8.0 # 3.8.0 adds a dependency on importlib-metadata which conflicts with other packages.
Expand Down
44 changes: 27 additions & 17 deletions requirements/3.10.txt
Expand Up @@ -26,9 +26,9 @@ babel==2.10.1
# via sphinx
bcrypt==3.2.2
# via paramiko
cachetools==5.0.0
cachetools==5.2.0
# via google-auth
certifi==2021.10.8
certifi==2022.5.18.1
# via
# requests
# urllib3
Expand All @@ -43,7 +43,7 @@ clickhouse-driver==0.2.3
# via testcontainers
codecov==2.1.12
# via -r requirements.in
coverage[toml]==6.3.2
coverage[toml]==6.4.1
# via
# codecov
# pytest-cov
Expand Down Expand Up @@ -71,21 +71,21 @@ dockerpty==0.4.1
# via docker-compose
docopt==0.6.2
# via docker-compose
docutils==0.17.1
docutils==0.18.1
# via sphinx
ecdsa==0.17.0
# via python-jose
entrypoints==0.3
# via flake8
flake8==3.7.9
# via -r requirements.in
google-api-core[grpc]==2.7.3
google-api-core[grpc]==2.8.1
# via google-cloud-pubsub
google-auth==2.6.6
# via google-api-core
google-cloud-pubsub==1.7.1
# via testcontainers
googleapis-common-protos[grpc]==1.56.0
googleapis-common-protos[grpc]==1.56.2
# via
# google-api-core
# grpc-google-iam-v1
Expand All @@ -94,13 +94,13 @@ greenlet==1.1.2
# via sqlalchemy
grpc-google-iam-v1==0.12.4
# via google-cloud-pubsub
grpcio==1.46.0
grpcio==1.46.3
# via
# google-api-core
# googleapis-common-protos
# grpc-google-iam-v1
# grpcio-status
grpcio-status==1.46.0
grpcio-status==1.46.3
# via google-api-core
h11==0.13.0
# via wsproto
Expand All @@ -123,7 +123,7 @@ markupsafe==2.1.1
# via jinja2
mccabe==0.6.1
# via flake8
neo4j==4.4.3
neo4j==4.4.4
# via testcontainers
outcome==1.1.0
# via trio
Expand All @@ -133,9 +133,9 @@ packaging==21.3
# pytest
# redis
# sphinx
paramiko==2.10.4
paramiko==2.11.0
# via docker
pg8000==1.26.1
pg8000==1.29.1
# via -r requirements.in
pika==1.2.1
# via testcontainers
Expand Down Expand Up @@ -165,6 +165,8 @@ pyflakes==2.1.1
# via flake8
pygments==2.12.0
# via sphinx
pyjwt==2.4.0
# via python-arango
pymongo==4.1.1
# via testcontainers
pymssql==2.2.5
Expand All @@ -175,7 +177,7 @@ pynacl==1.5.0
# via paramiko
pyopenssl==22.0.0
# via urllib3
pyparsing==3.0.8
pyparsing==3.0.9
# via packaging
pyrsistent==0.18.1
# via jsonschema
Expand All @@ -187,11 +189,13 @@ pytest==7.1.2
# pytest-cov
pytest-cov==3.0.0
# via -r requirements.in
python-arango==7.3.4
# via testcontainers
python-dotenv==0.20.0
# via docker-compose
python-jose==3.3.0
# via python-keycloak
python-keycloak==0.27.0
python-keycloak==1.5.0
# via testcontainers
pytz==2022.1
# via
Expand All @@ -202,23 +206,27 @@ pytz-deprecation-shim==0.1.0.post0
# via tzlocal
pyyaml==5.4.1
# via docker-compose
redis==4.3.0
redis==4.3.3
# via testcontainers
requests==2.27.1
# via
# codecov
# docker
# docker-compose
# google-api-core
# python-arango
# python-keycloak
# requests-toolbelt
# sphinx
requests-toolbelt==0.9.1
# via python-arango
rsa==4.8
# via
# google-auth
# python-jose
scramp==1.4.1
# via pg8000
selenium==4.1.5
selenium==4.2.0
# via testcontainers
six==1.16.0
# via
Expand All @@ -235,7 +243,7 @@ snowballstemmer==2.2.0
# via sphinx
sortedcontainers==2.4.0
# via trio
sphinx==4.5.0
sphinx==5.0.1
# via -r requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
Expand All @@ -249,7 +257,7 @@ sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
sqlalchemy==1.4.36
sqlalchemy==1.4.37
# via testcontainers
texttable==1.6.4
# via docker-compose
Expand All @@ -269,6 +277,8 @@ tzlocal==4.2
# via clickhouse-driver
urllib3[secure,socks]==1.26.9
# via
# python-arango
# python-keycloak
# requests
# selenium
websocket-client==0.59.0
Expand Down