Skip to content

Commit

Permalink
remove pin to outdated debian buster; improve test comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
jertel committed Aug 11, 2023
1 parent 1e594f0 commit 24f794a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim-buster as builder
FROM python:3-slim as builder

LABEL description="ElastAlert 2 Official Image"
LABEL maintainer="Jason Ertel"
Expand All @@ -10,7 +10,7 @@ RUN mkdir -p /opt/elastalert && \
pip install setuptools wheel && \
python setup.py sdist bdist_wheel

FROM python:3-slim-buster
FROM python:3-slim

ARG GID=1000
ARG UID=1000
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile-test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim-buster
FROM python:3-slim

RUN apt update && apt upgrade -y
RUN apt install -y gcc libffi-dev
Expand Down
2 changes: 1 addition & 1 deletion tests/auth_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ def test_auth_aws_region():
profile_name=None
)

assert type(auth) == RefeshableAWSRequestsAuth
assert type(auth) is RefeshableAWSRequestsAuth
assert auth.aws_region == 'us-east-1'

0 comments on commit 24f794a

Please sign in to comment.