Skip to content

Commit

Permalink
Merge pull request #269 from fabric-testbed/rel1.6
Browse files Browse the repository at this point in the history
Rel1.6 - updated dependencies
  • Loading branch information
kthare10 authored Jan 3, 2024
2 parents 98fd911 + 5ab708f commit 82633d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
28 changes: 14 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "fabrictestbed-extensions"
version = "1.5.6"
version = "1.6.0"
description = "FABRIC Python Client Library and CLI Extensions"
authors = [
{ name = "Paul Ruth", email = "[email protected]" },
Expand All @@ -15,19 +15,19 @@ readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
requires-python = ">=3.9"
dependencies = [
"ipycytoscape",
"ipywidgets",
"ipyleaflet",
"ipycytoscape",
"tabulate",
"fabrictestbed==1.5.7",
"paramiko",
"jinja2>=3.0.0",
"pandas",
"numpy",
"ipython>=8.12.0",
"fabric_fss_utils>=1.5.1",
]
"ipycytoscape",
"ipywidgets",
"ipyleaflet",
"ipycytoscape",
"tabulate",
"fabrictestbed==1.6.2",
"paramiko",
"jinja2>=3.0.0",
"pandas",
"numpy",
"ipython>=8.12.0",
"fabric_fss_utils>=1.5.1"
]

classifiers = [
"Programming Language :: Python :: 3",
Expand Down
8 changes: 5 additions & 3 deletions tests/unit/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import tempfile
import unittest

from fabrictestbed.slice_manager import SliceManagerException
from fabrictestbed.util.constants import Constants

from fabrictestbed_extensions.fablib.fablib import FablibManager
Expand Down Expand Up @@ -84,9 +85,10 @@ def test_fablib_manager_test_with_no_token_file(self):
os.environ[Constants.FABRIC_TOKEN_LOCATION] = "dummy"

# FablibManager() without a valid token or token location
# should raise a "ValueError: Invalid value for
# `refresh_token`, must not be `None`"
self.assertRaises(ValueError, FablibManager, fabric_rc=self.rcfile.name)
# should raise a "SliceManagerException: Unable to refresh tokens: no refresh token found!
self.assertRaises(
SliceManagerException, FablibManager, fabric_rc=self.rcfile.name
)

def test_fablib_manager_test_with_dummy_token(self):
# TODO: That FablibManager() calls build_slice_manager()
Expand Down

0 comments on commit 82633d8

Please sign in to comment.