Skip to content

Commit

Permalink
fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ldruschk committed Apr 18, 2021
1 parent c651861 commit 51fd3f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include *.txt *.md
4 changes: 2 additions & 2 deletions enochecker_test/base.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import base64
import logging
import os
import random
import secrets
from typing import cast

import jsons
Expand Down Expand Up @@ -87,7 +87,7 @@ def pytest_generate_tests(metafunc):


def generate_dummyflag() -> str:
flag = "ENO" + base64.b64encode(random.randbytes(36)).decode()
flag = "ENO" + base64.b64encode(secrets.token_bytes(36)).decode()
assert len(flag) == 51
return flag

Expand Down

0 comments on commit 51fd3f1

Please sign in to comment.