Skip to content

Commit

Permalink
fix isort, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Aug 27, 2024
1 parent bc7e78b commit 98f3fe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/besapi/plugin_utilities.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""This is a set of utility functions for use in multiple plugins"""

import argparse
import getpass
import logging
import logging.handlers
import ntpath
import os
import sys
import getpass

import besapi

Expand Down
3 changes: 2 additions & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ class RequestResult(object):
# test plugin_utilities:
print(besapi.plugin_utilities.get_invoke_folder())
print(besapi.plugin_utilities.get_invoke_file_name())
besapi.plugin_utilities.setup_plugin_logging(console=True)
# the following doesn't seem to work in python 3.7:
# besapi.plugin_utilities.setup_plugin_logging(console=True)
parser = besapi.plugin_utilities.setup_plugin_argparse(plugin_args_required=False)
# allow unknown args to be parsed instead of throwing an error:
args, _unknown = parser.parse_known_args()
Expand Down

0 comments on commit 98f3fe9

Please sign in to comment.