Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 1 deletion.
  1. +1 −0  .gitignore
  2. +4 −0 test.py
  3. +0 −1  test_config.json
View
1  .gitignore
@@ -1,2 +1,3 @@
*.pyc
*.swp
+*.json
View
4 test.py
@@ -134,6 +134,8 @@ def test_fromArgsConfigFileProduct(self):
test_config["iron_worker"]["project_id"])
self.assertEqual(client.token, test_config["iron_worker"]["token"])
+ os.remove("test_config.json")
+
def test_fromArgsConfigFileMixed(self):
test_config = {
"host": "test-config-host-global",
@@ -163,6 +165,8 @@ def test_fromArgsConfigFileMixed(self):
test_config["iron_worker"]["project_id"])
self.assertEqual(client.token, test_config["iron_worker"]["token"])
+ os.remove("test_config.json")
+
if __name__ == "__main__":
unittest.main()
View
1  test_config.json
@@ -1 +0,0 @@
-{"iron_worker": {"protocol": "test-config-protocol", "host": "test-config-host", "token": "test-config-token", "project_id": "test-config-project-id", "port": "test-config-port", "api_version": "test-config-api-version"}}

No commit comments for this range

Something went wrong with that request. Please try again.