Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Changed test repository names to fix tests #803

Merged
merged 1 commit into from
Mar 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/test_keras_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def test_save_pretrained_kwargs_load_fails_without_traces(self):
self.assertRaises(ValueError, msg="Exception encountered when calling layer*")

def test_from_pretrained_weights(self):
REPO_NAME = repo_name("from_pretrained_weights")
REPO_NAME = repo_name("FROM_PRETRAINED")
model = self.model_init()
model.build((None, 2))

Expand Down Expand Up @@ -352,7 +352,7 @@ def test_push_to_hub_model_card_build(self):

@retry_endpoint
def test_push_to_hub_model_card_plot_false(self):
REPO_NAME = repo_name("PUSH_TO_HUB_PLOT")
REPO_NAME = repo_name("PUSH_TO_HUB")
model = self.model_init()
model = self.model_fit(model)
push_to_hub_keras(
Expand All @@ -372,7 +372,7 @@ def test_push_to_hub_model_card_plot_false(self):

@retry_endpoint
def test_push_to_hub_tensorboard(self):
REPO_NAME = "PUSH_TO_HUB_TB"
REPO_NAME = "PUSH_TO_HUB"
with tempfile.TemporaryDirectory() as tmpdirname:
os.makedirs(f"{tmpdirname}/log_dir")
with open(f"{tmpdirname}/log_dir/tensorboard.txt", "w") as fp:
Expand All @@ -399,7 +399,7 @@ def test_push_to_hub_tensorboard(self):

@retry_endpoint
def test_override_tensorboard(self):
REPO_NAME = repo_name("TB_OVERRIDE")
REPO_NAME = repo_name("PUSH_TO_HUB")
with tempfile.TemporaryDirectory() as tmpdirname:
os.makedirs(f"{tmpdirname}/tb_log_dir")
with open(f"{tmpdirname}/tb_log_dir/tensorboard.txt", "w") as fp:
Expand Down