Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ngcgarcia committed Jan 23, 2024
1 parent 9b1ee4c commit e037e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/test_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ def test_build_logger():
with pytest.raises(ValueError):
_ = build_logger('unknown', {})

logger_cfg = DictConfig({
logger_cfg = {
'project': 'foobar',
'init_kwargs': {
'config': {
'foo': 'bar',
}
}
})
}
wandb_logger = build_logger('wandb', logger_cfg) # type: ignore
assert isinstance(wandb_logger, WandBLogger)
assert wandb_logger.project == 'foobar'
Expand Down

0 comments on commit e037e52

Please sign in to comment.