code: def test_parse_mongo_db_arg_priority():
      assert parse_mongo_db_arg("localhost:28017:foo.bar!17") == {
          "url": "localhost:28017",
          "db_name": "foo",
          "collection": "bar",
          "priority": 17,
      }
  
      assert parse_mongo_db_arg("www.mymongo.db:28017:bar.baz!2") == {
          "url": "www.mymongo.db:28017",
          "db_name": "bar",
          "collection": "baz",
          "priority": 2,
      }
  
      assert parse_mongo_db_arg("123.45.67.89:27017:baz.foo!-123") == {
          "url": "123.45.67.89:27017",
          "db_name": "baz",
          "collection": "foo",
          "priority": -123,
      }
  
file_path: sacred/tests/test_observers/test_mongo_option.py
imports: import pytest
  from sacred.observers.mongo import parse_mongo_db_arg, DEFAULT_MONGO_PRIORITY
label_desc: Use image node_id 6 for calling a global function with example usage: test_parse_mongo_db_arg_priority() without return types