<commit_before>package main

import (
	"net/http"

	"github.com/docker/docker/pkg/integration/checker"
	"github.com/docker/engine-api/types"
	"github.com/go-check/check"
)

// Test case for #22244
func (s *DockerSuite) TestAuthApi(c *check.C) {<commit_msg>skip TestAuthApi if no network is available<commit_after>package main

import (
	"net/http"

	"github.com/docker/docker/pkg/integration/checker"
	"github.com/docker/engine-api/types"
	"github.com/go-check/check"
)

// Test case for #22244
func (s *DockerSuite) TestAuthApi(c *check.C) {
	testRequires(c, Network)
{'fraction_non_alphanumeric': 0.14612676056338028, 'fraction_numerical': 0.017605633802816902, 'mean_word_length': 4.69, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2258215', 'n_tokens_mistral': 231, 'n_tokens_neox': 214, 'n_words': 40}