{"size": 365, "ext": "js", "max_stars_repo_path": "test/test_201_filter_add_host.js", "max_stars_repo_name": "metrico/paStash", "max_stars_repo_stars_event_min_datetime": "2015-01-01T09:43:04.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-17T08:48:51.000Z", "max_issues_repo_path": "test/test_201_filter_add_host.js", "max_issues_repo_name": "metrico/paStash", "max_issues_repo_issues_event_min_datetime": "2017-09-25T17:21:28.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T08:58:00.000Z", "max_forks_repo_path": "test/test_201_filter_add_host.js", "max_forks_repo_name": "metrico/paStash", "max_forks_repo_forks_event_min_datetime": "2015-01-03T15:32:50.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-24T13:05:11.000Z"}
{"max_stars_count": 330, "max_issues_count": 69, "max_forks_count": 77, "avg_line_length": 24.3333333333, "max_line_length": 58, "alphanum_fraction": 0.5726027397}
var vows = require('vows'),
  os = require('os'),
  filter_helper = require('./filter_helper');

vows.describe('Filter add host ').addBatch({
  'normal': filter_helper.create('add_host', '', [{}], [{
    'host': os.hostname()
  }]),
  'not overwrite': filter_helper.create('add_host', '', [{
    'host': 'toto'
  }], [{
    'host': 'toto'
  }]),
}).export(module);
