@itentialopensource/adapter-nautobot_v2 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CALLS.md +697 -0
- package/adapter.js +12798 -0
- package/entities/Cloud/action.json +1260 -0
- package/entities/Cloud/schema.json +1169 -0
- package/entities/Core/action.json +24 -0
- package/entities/Core/schema.json +19 -0
- package/entities/Metrics/action.json +25 -0
- package/entities/Metrics/schema.json +19 -0
- package/entities/Ui/action.json +24 -0
- package/entities/Ui/schema.json +19 -0
- package/entities/Wireless/action.json +1037 -0
- package/entities/Wireless/schema.json +2181 -0
- package/package.json +2 -2
- package/pronghorn.json +13605 -0
- package/report/adapterInfo.json +7 -7
- package/test/integration/adapterTestIntegration.js +3063 -0
- package/test/unit/adapterTestUnit.js +3466 -0
|
@@ -47329,5 +47329,3471 @@ describe('[unit] Nautobot_v2 Adapter Test', () => {
|
|
|
47329
47329
|
}
|
|
47330
47330
|
}).timeout(attemptTimeout);
|
|
47331
47331
|
});
|
|
47332
|
+
|
|
47333
|
+
describe('#getCloudCloudAccounts - errors', () => {
|
|
47334
|
+
it('should have a getCloudCloudAccounts function', (done) => {
|
|
47335
|
+
try {
|
|
47336
|
+
assert.equal(true, typeof a.getCloudCloudAccounts === 'function');
|
|
47337
|
+
done();
|
|
47338
|
+
} catch (error) {
|
|
47339
|
+
log.error(`Test Failure: ${error}`);
|
|
47340
|
+
done(error);
|
|
47341
|
+
}
|
|
47342
|
+
}).timeout(attemptTimeout);
|
|
47343
|
+
});
|
|
47344
|
+
|
|
47345
|
+
describe('#postCloudCloudAccounts - errors', () => {
|
|
47346
|
+
it('should have a postCloudCloudAccounts function', (done) => {
|
|
47347
|
+
try {
|
|
47348
|
+
assert.equal(true, typeof a.postCloudCloudAccounts === 'function');
|
|
47349
|
+
done();
|
|
47350
|
+
} catch (error) {
|
|
47351
|
+
log.error(`Test Failure: ${error}`);
|
|
47352
|
+
done(error);
|
|
47353
|
+
}
|
|
47354
|
+
}).timeout(attemptTimeout);
|
|
47355
|
+
it('should error if - missing body', (done) => {
|
|
47356
|
+
try {
|
|
47357
|
+
a.postCloudCloudAccounts('fakeparam', null, null, (data, error) => {
|
|
47358
|
+
try {
|
|
47359
|
+
const displayE = 'body is required';
|
|
47360
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudAccounts', displayE);
|
|
47361
|
+
done();
|
|
47362
|
+
} catch (err) {
|
|
47363
|
+
log.error(`Test Failure: ${err}`);
|
|
47364
|
+
done(err);
|
|
47365
|
+
}
|
|
47366
|
+
});
|
|
47367
|
+
} catch (error) {
|
|
47368
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47369
|
+
done(error);
|
|
47370
|
+
}
|
|
47371
|
+
}).timeout(attemptTimeout);
|
|
47372
|
+
});
|
|
47373
|
+
|
|
47374
|
+
describe('#putCloudCloudAccounts - errors', () => {
|
|
47375
|
+
it('should have a putCloudCloudAccounts function', (done) => {
|
|
47376
|
+
try {
|
|
47377
|
+
assert.equal(true, typeof a.putCloudCloudAccounts === 'function');
|
|
47378
|
+
done();
|
|
47379
|
+
} catch (error) {
|
|
47380
|
+
log.error(`Test Failure: ${error}`);
|
|
47381
|
+
done(error);
|
|
47382
|
+
}
|
|
47383
|
+
}).timeout(attemptTimeout);
|
|
47384
|
+
it('should error if - missing body', (done) => {
|
|
47385
|
+
try {
|
|
47386
|
+
a.putCloudCloudAccounts('fakeparam', null, null, (data, error) => {
|
|
47387
|
+
try {
|
|
47388
|
+
const displayE = 'body is required';
|
|
47389
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudAccounts', displayE);
|
|
47390
|
+
done();
|
|
47391
|
+
} catch (err) {
|
|
47392
|
+
log.error(`Test Failure: ${err}`);
|
|
47393
|
+
done(err);
|
|
47394
|
+
}
|
|
47395
|
+
});
|
|
47396
|
+
} catch (error) {
|
|
47397
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47398
|
+
done(error);
|
|
47399
|
+
}
|
|
47400
|
+
}).timeout(attemptTimeout);
|
|
47401
|
+
});
|
|
47402
|
+
|
|
47403
|
+
describe('#patchCloudCloudAccounts - errors', () => {
|
|
47404
|
+
it('should have a patchCloudCloudAccounts function', (done) => {
|
|
47405
|
+
try {
|
|
47406
|
+
assert.equal(true, typeof a.patchCloudCloudAccounts === 'function');
|
|
47407
|
+
done();
|
|
47408
|
+
} catch (error) {
|
|
47409
|
+
log.error(`Test Failure: ${error}`);
|
|
47410
|
+
done(error);
|
|
47411
|
+
}
|
|
47412
|
+
}).timeout(attemptTimeout);
|
|
47413
|
+
it('should error if - missing body', (done) => {
|
|
47414
|
+
try {
|
|
47415
|
+
a.patchCloudCloudAccounts('fakeparam', null, null, (data, error) => {
|
|
47416
|
+
try {
|
|
47417
|
+
const displayE = 'body is required';
|
|
47418
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudAccounts', displayE);
|
|
47419
|
+
done();
|
|
47420
|
+
} catch (err) {
|
|
47421
|
+
log.error(`Test Failure: ${err}`);
|
|
47422
|
+
done(err);
|
|
47423
|
+
}
|
|
47424
|
+
});
|
|
47425
|
+
} catch (error) {
|
|
47426
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47427
|
+
done(error);
|
|
47428
|
+
}
|
|
47429
|
+
}).timeout(attemptTimeout);
|
|
47430
|
+
});
|
|
47431
|
+
|
|
47432
|
+
describe('#deleteCloudCloudAccounts - errors', () => {
|
|
47433
|
+
it('should have a deleteCloudCloudAccounts function', (done) => {
|
|
47434
|
+
try {
|
|
47435
|
+
assert.equal(true, typeof a.deleteCloudCloudAccounts === 'function');
|
|
47436
|
+
done();
|
|
47437
|
+
} catch (error) {
|
|
47438
|
+
log.error(`Test Failure: ${error}`);
|
|
47439
|
+
done(error);
|
|
47440
|
+
}
|
|
47441
|
+
}).timeout(attemptTimeout);
|
|
47442
|
+
it('should error if - missing body', (done) => {
|
|
47443
|
+
try {
|
|
47444
|
+
a.deleteCloudCloudAccounts('fakeparam', null, null, (data, error) => {
|
|
47445
|
+
try {
|
|
47446
|
+
const displayE = 'body is required';
|
|
47447
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudAccounts', displayE);
|
|
47448
|
+
done();
|
|
47449
|
+
} catch (err) {
|
|
47450
|
+
log.error(`Test Failure: ${err}`);
|
|
47451
|
+
done(err);
|
|
47452
|
+
}
|
|
47453
|
+
});
|
|
47454
|
+
} catch (error) {
|
|
47455
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47456
|
+
done(error);
|
|
47457
|
+
}
|
|
47458
|
+
}).timeout(attemptTimeout);
|
|
47459
|
+
});
|
|
47460
|
+
|
|
47461
|
+
describe('#getCloudCloudAccountsId - errors', () => {
|
|
47462
|
+
it('should have a getCloudCloudAccountsId function', (done) => {
|
|
47463
|
+
try {
|
|
47464
|
+
assert.equal(true, typeof a.getCloudCloudAccountsId === 'function');
|
|
47465
|
+
done();
|
|
47466
|
+
} catch (error) {
|
|
47467
|
+
log.error(`Test Failure: ${error}`);
|
|
47468
|
+
done(error);
|
|
47469
|
+
}
|
|
47470
|
+
}).timeout(attemptTimeout);
|
|
47471
|
+
it('should error if - missing id', (done) => {
|
|
47472
|
+
try {
|
|
47473
|
+
a.getCloudCloudAccountsId('fakeparam', null, null, null, null, (data, error) => {
|
|
47474
|
+
try {
|
|
47475
|
+
const displayE = 'id is required';
|
|
47476
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudAccountsId', displayE);
|
|
47477
|
+
done();
|
|
47478
|
+
} catch (err) {
|
|
47479
|
+
log.error(`Test Failure: ${err}`);
|
|
47480
|
+
done(err);
|
|
47481
|
+
}
|
|
47482
|
+
});
|
|
47483
|
+
} catch (error) {
|
|
47484
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47485
|
+
done(error);
|
|
47486
|
+
}
|
|
47487
|
+
}).timeout(attemptTimeout);
|
|
47488
|
+
});
|
|
47489
|
+
|
|
47490
|
+
describe('#putCloudCloudAccountsId - errors', () => {
|
|
47491
|
+
it('should have a putCloudCloudAccountsId function', (done) => {
|
|
47492
|
+
try {
|
|
47493
|
+
assert.equal(true, typeof a.putCloudCloudAccountsId === 'function');
|
|
47494
|
+
done();
|
|
47495
|
+
} catch (error) {
|
|
47496
|
+
log.error(`Test Failure: ${error}`);
|
|
47497
|
+
done(error);
|
|
47498
|
+
}
|
|
47499
|
+
}).timeout(attemptTimeout);
|
|
47500
|
+
it('should error if - missing id', (done) => {
|
|
47501
|
+
try {
|
|
47502
|
+
a.putCloudCloudAccountsId('fakeparam', null, null, null, (data, error) => {
|
|
47503
|
+
try {
|
|
47504
|
+
const displayE = 'id is required';
|
|
47505
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudAccountsId', displayE);
|
|
47506
|
+
done();
|
|
47507
|
+
} catch (err) {
|
|
47508
|
+
log.error(`Test Failure: ${err}`);
|
|
47509
|
+
done(err);
|
|
47510
|
+
}
|
|
47511
|
+
});
|
|
47512
|
+
} catch (error) {
|
|
47513
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47514
|
+
done(error);
|
|
47515
|
+
}
|
|
47516
|
+
}).timeout(attemptTimeout);
|
|
47517
|
+
it('should error if - missing body', (done) => {
|
|
47518
|
+
try {
|
|
47519
|
+
a.putCloudCloudAccountsId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
47520
|
+
try {
|
|
47521
|
+
const displayE = 'body is required';
|
|
47522
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudAccountsId', displayE);
|
|
47523
|
+
done();
|
|
47524
|
+
} catch (err) {
|
|
47525
|
+
log.error(`Test Failure: ${err}`);
|
|
47526
|
+
done(err);
|
|
47527
|
+
}
|
|
47528
|
+
});
|
|
47529
|
+
} catch (error) {
|
|
47530
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47531
|
+
done(error);
|
|
47532
|
+
}
|
|
47533
|
+
}).timeout(attemptTimeout);
|
|
47534
|
+
});
|
|
47535
|
+
|
|
47536
|
+
describe('#patchCloudCloudAccountsId - errors', () => {
|
|
47537
|
+
it('should have a patchCloudCloudAccountsId function', (done) => {
|
|
47538
|
+
try {
|
|
47539
|
+
assert.equal(true, typeof a.patchCloudCloudAccountsId === 'function');
|
|
47540
|
+
done();
|
|
47541
|
+
} catch (error) {
|
|
47542
|
+
log.error(`Test Failure: ${error}`);
|
|
47543
|
+
done(error);
|
|
47544
|
+
}
|
|
47545
|
+
}).timeout(attemptTimeout);
|
|
47546
|
+
it('should error if - missing id', (done) => {
|
|
47547
|
+
try {
|
|
47548
|
+
a.patchCloudCloudAccountsId('fakeparam', null, null, null, (data, error) => {
|
|
47549
|
+
try {
|
|
47550
|
+
const displayE = 'id is required';
|
|
47551
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudAccountsId', displayE);
|
|
47552
|
+
done();
|
|
47553
|
+
} catch (err) {
|
|
47554
|
+
log.error(`Test Failure: ${err}`);
|
|
47555
|
+
done(err);
|
|
47556
|
+
}
|
|
47557
|
+
});
|
|
47558
|
+
} catch (error) {
|
|
47559
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47560
|
+
done(error);
|
|
47561
|
+
}
|
|
47562
|
+
}).timeout(attemptTimeout);
|
|
47563
|
+
});
|
|
47564
|
+
|
|
47565
|
+
describe('#deleteCloudCloudAccountsId - errors', () => {
|
|
47566
|
+
it('should have a deleteCloudCloudAccountsId function', (done) => {
|
|
47567
|
+
try {
|
|
47568
|
+
assert.equal(true, typeof a.deleteCloudCloudAccountsId === 'function');
|
|
47569
|
+
done();
|
|
47570
|
+
} catch (error) {
|
|
47571
|
+
log.error(`Test Failure: ${error}`);
|
|
47572
|
+
done(error);
|
|
47573
|
+
}
|
|
47574
|
+
}).timeout(attemptTimeout);
|
|
47575
|
+
it('should error if - missing id', (done) => {
|
|
47576
|
+
try {
|
|
47577
|
+
a.deleteCloudCloudAccountsId('fakeparam', null, null, (data, error) => {
|
|
47578
|
+
try {
|
|
47579
|
+
const displayE = 'id is required';
|
|
47580
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudAccountsId', displayE);
|
|
47581
|
+
done();
|
|
47582
|
+
} catch (err) {
|
|
47583
|
+
log.error(`Test Failure: ${err}`);
|
|
47584
|
+
done(err);
|
|
47585
|
+
}
|
|
47586
|
+
});
|
|
47587
|
+
} catch (error) {
|
|
47588
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47589
|
+
done(error);
|
|
47590
|
+
}
|
|
47591
|
+
}).timeout(attemptTimeout);
|
|
47592
|
+
});
|
|
47593
|
+
|
|
47594
|
+
describe('#getCloudCloudAccountsIdNotes - errors', () => {
|
|
47595
|
+
it('should have a getCloudCloudAccountsIdNotes function', (done) => {
|
|
47596
|
+
try {
|
|
47597
|
+
assert.equal(true, typeof a.getCloudCloudAccountsIdNotes === 'function');
|
|
47598
|
+
done();
|
|
47599
|
+
} catch (error) {
|
|
47600
|
+
log.error(`Test Failure: ${error}`);
|
|
47601
|
+
done(error);
|
|
47602
|
+
}
|
|
47603
|
+
}).timeout(attemptTimeout);
|
|
47604
|
+
it('should error if - missing id', (done) => {
|
|
47605
|
+
try {
|
|
47606
|
+
a.getCloudCloudAccountsIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
47607
|
+
try {
|
|
47608
|
+
const displayE = 'id is required';
|
|
47609
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudAccountsIdNotes', displayE);
|
|
47610
|
+
done();
|
|
47611
|
+
} catch (err) {
|
|
47612
|
+
log.error(`Test Failure: ${err}`);
|
|
47613
|
+
done(err);
|
|
47614
|
+
}
|
|
47615
|
+
});
|
|
47616
|
+
} catch (error) {
|
|
47617
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47618
|
+
done(error);
|
|
47619
|
+
}
|
|
47620
|
+
}).timeout(attemptTimeout);
|
|
47621
|
+
});
|
|
47622
|
+
|
|
47623
|
+
describe('#postCloudCloudAccountsIdNotes - errors', () => {
|
|
47624
|
+
it('should have a postCloudCloudAccountsIdNotes function', (done) => {
|
|
47625
|
+
try {
|
|
47626
|
+
assert.equal(true, typeof a.postCloudCloudAccountsIdNotes === 'function');
|
|
47627
|
+
done();
|
|
47628
|
+
} catch (error) {
|
|
47629
|
+
log.error(`Test Failure: ${error}`);
|
|
47630
|
+
done(error);
|
|
47631
|
+
}
|
|
47632
|
+
}).timeout(attemptTimeout);
|
|
47633
|
+
it('should error if - missing id', (done) => {
|
|
47634
|
+
try {
|
|
47635
|
+
a.postCloudCloudAccountsIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
47636
|
+
try {
|
|
47637
|
+
const displayE = 'id is required';
|
|
47638
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudAccountsIdNotes', displayE);
|
|
47639
|
+
done();
|
|
47640
|
+
} catch (err) {
|
|
47641
|
+
log.error(`Test Failure: ${err}`);
|
|
47642
|
+
done(err);
|
|
47643
|
+
}
|
|
47644
|
+
});
|
|
47645
|
+
} catch (error) {
|
|
47646
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47647
|
+
done(error);
|
|
47648
|
+
}
|
|
47649
|
+
}).timeout(attemptTimeout);
|
|
47650
|
+
it('should error if - missing body', (done) => {
|
|
47651
|
+
try {
|
|
47652
|
+
a.postCloudCloudAccountsIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
47653
|
+
try {
|
|
47654
|
+
const displayE = 'body is required';
|
|
47655
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudAccountsIdNotes', displayE);
|
|
47656
|
+
done();
|
|
47657
|
+
} catch (err) {
|
|
47658
|
+
log.error(`Test Failure: ${err}`);
|
|
47659
|
+
done(err);
|
|
47660
|
+
}
|
|
47661
|
+
});
|
|
47662
|
+
} catch (error) {
|
|
47663
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47664
|
+
done(error);
|
|
47665
|
+
}
|
|
47666
|
+
}).timeout(attemptTimeout);
|
|
47667
|
+
});
|
|
47668
|
+
|
|
47669
|
+
describe('#getCloudCloudNetworkPrefixAssignments - errors', () => {
|
|
47670
|
+
it('should have a getCloudCloudNetworkPrefixAssignments function', (done) => {
|
|
47671
|
+
try {
|
|
47672
|
+
assert.equal(true, typeof a.getCloudCloudNetworkPrefixAssignments === 'function');
|
|
47673
|
+
done();
|
|
47674
|
+
} catch (error) {
|
|
47675
|
+
log.error(`Test Failure: ${error}`);
|
|
47676
|
+
done(error);
|
|
47677
|
+
}
|
|
47678
|
+
}).timeout(attemptTimeout);
|
|
47679
|
+
});
|
|
47680
|
+
|
|
47681
|
+
describe('#postCloudCloudNetworkPrefixAssignments - errors', () => {
|
|
47682
|
+
it('should have a postCloudCloudNetworkPrefixAssignments function', (done) => {
|
|
47683
|
+
try {
|
|
47684
|
+
assert.equal(true, typeof a.postCloudCloudNetworkPrefixAssignments === 'function');
|
|
47685
|
+
done();
|
|
47686
|
+
} catch (error) {
|
|
47687
|
+
log.error(`Test Failure: ${error}`);
|
|
47688
|
+
done(error);
|
|
47689
|
+
}
|
|
47690
|
+
}).timeout(attemptTimeout);
|
|
47691
|
+
it('should error if - missing body', (done) => {
|
|
47692
|
+
try {
|
|
47693
|
+
a.postCloudCloudNetworkPrefixAssignments('fakeparam', null, null, (data, error) => {
|
|
47694
|
+
try {
|
|
47695
|
+
const displayE = 'body is required';
|
|
47696
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudNetworkPrefixAssignments', displayE);
|
|
47697
|
+
done();
|
|
47698
|
+
} catch (err) {
|
|
47699
|
+
log.error(`Test Failure: ${err}`);
|
|
47700
|
+
done(err);
|
|
47701
|
+
}
|
|
47702
|
+
});
|
|
47703
|
+
} catch (error) {
|
|
47704
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47705
|
+
done(error);
|
|
47706
|
+
}
|
|
47707
|
+
}).timeout(attemptTimeout);
|
|
47708
|
+
});
|
|
47709
|
+
|
|
47710
|
+
describe('#putCloudCloudNetworkPrefixAssignments - errors', () => {
|
|
47711
|
+
it('should have a putCloudCloudNetworkPrefixAssignments function', (done) => {
|
|
47712
|
+
try {
|
|
47713
|
+
assert.equal(true, typeof a.putCloudCloudNetworkPrefixAssignments === 'function');
|
|
47714
|
+
done();
|
|
47715
|
+
} catch (error) {
|
|
47716
|
+
log.error(`Test Failure: ${error}`);
|
|
47717
|
+
done(error);
|
|
47718
|
+
}
|
|
47719
|
+
}).timeout(attemptTimeout);
|
|
47720
|
+
it('should error if - missing body', (done) => {
|
|
47721
|
+
try {
|
|
47722
|
+
a.putCloudCloudNetworkPrefixAssignments('fakeparam', null, null, (data, error) => {
|
|
47723
|
+
try {
|
|
47724
|
+
const displayE = 'body is required';
|
|
47725
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudNetworkPrefixAssignments', displayE);
|
|
47726
|
+
done();
|
|
47727
|
+
} catch (err) {
|
|
47728
|
+
log.error(`Test Failure: ${err}`);
|
|
47729
|
+
done(err);
|
|
47730
|
+
}
|
|
47731
|
+
});
|
|
47732
|
+
} catch (error) {
|
|
47733
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47734
|
+
done(error);
|
|
47735
|
+
}
|
|
47736
|
+
}).timeout(attemptTimeout);
|
|
47737
|
+
});
|
|
47738
|
+
|
|
47739
|
+
describe('#patchCloudCloudNetworkPrefixAssignments - errors', () => {
|
|
47740
|
+
it('should have a patchCloudCloudNetworkPrefixAssignments function', (done) => {
|
|
47741
|
+
try {
|
|
47742
|
+
assert.equal(true, typeof a.patchCloudCloudNetworkPrefixAssignments === 'function');
|
|
47743
|
+
done();
|
|
47744
|
+
} catch (error) {
|
|
47745
|
+
log.error(`Test Failure: ${error}`);
|
|
47746
|
+
done(error);
|
|
47747
|
+
}
|
|
47748
|
+
}).timeout(attemptTimeout);
|
|
47749
|
+
it('should error if - missing body', (done) => {
|
|
47750
|
+
try {
|
|
47751
|
+
a.patchCloudCloudNetworkPrefixAssignments('fakeparam', null, null, (data, error) => {
|
|
47752
|
+
try {
|
|
47753
|
+
const displayE = 'body is required';
|
|
47754
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudNetworkPrefixAssignments', displayE);
|
|
47755
|
+
done();
|
|
47756
|
+
} catch (err) {
|
|
47757
|
+
log.error(`Test Failure: ${err}`);
|
|
47758
|
+
done(err);
|
|
47759
|
+
}
|
|
47760
|
+
});
|
|
47761
|
+
} catch (error) {
|
|
47762
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47763
|
+
done(error);
|
|
47764
|
+
}
|
|
47765
|
+
}).timeout(attemptTimeout);
|
|
47766
|
+
});
|
|
47767
|
+
|
|
47768
|
+
describe('#deleteCloudCloudNetworkPrefixAssignments - errors', () => {
|
|
47769
|
+
it('should have a deleteCloudCloudNetworkPrefixAssignments function', (done) => {
|
|
47770
|
+
try {
|
|
47771
|
+
assert.equal(true, typeof a.deleteCloudCloudNetworkPrefixAssignments === 'function');
|
|
47772
|
+
done();
|
|
47773
|
+
} catch (error) {
|
|
47774
|
+
log.error(`Test Failure: ${error}`);
|
|
47775
|
+
done(error);
|
|
47776
|
+
}
|
|
47777
|
+
}).timeout(attemptTimeout);
|
|
47778
|
+
it('should error if - missing body', (done) => {
|
|
47779
|
+
try {
|
|
47780
|
+
a.deleteCloudCloudNetworkPrefixAssignments('fakeparam', null, null, (data, error) => {
|
|
47781
|
+
try {
|
|
47782
|
+
const displayE = 'body is required';
|
|
47783
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudNetworkPrefixAssignments', displayE);
|
|
47784
|
+
done();
|
|
47785
|
+
} catch (err) {
|
|
47786
|
+
log.error(`Test Failure: ${err}`);
|
|
47787
|
+
done(err);
|
|
47788
|
+
}
|
|
47789
|
+
});
|
|
47790
|
+
} catch (error) {
|
|
47791
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47792
|
+
done(error);
|
|
47793
|
+
}
|
|
47794
|
+
}).timeout(attemptTimeout);
|
|
47795
|
+
});
|
|
47796
|
+
|
|
47797
|
+
describe('#getCloudCloudNetworkPrefixAssignmentsId - errors', () => {
|
|
47798
|
+
it('should have a getCloudCloudNetworkPrefixAssignmentsId function', (done) => {
|
|
47799
|
+
try {
|
|
47800
|
+
assert.equal(true, typeof a.getCloudCloudNetworkPrefixAssignmentsId === 'function');
|
|
47801
|
+
done();
|
|
47802
|
+
} catch (error) {
|
|
47803
|
+
log.error(`Test Failure: ${error}`);
|
|
47804
|
+
done(error);
|
|
47805
|
+
}
|
|
47806
|
+
}).timeout(attemptTimeout);
|
|
47807
|
+
it('should error if - missing id', (done) => {
|
|
47808
|
+
try {
|
|
47809
|
+
a.getCloudCloudNetworkPrefixAssignmentsId('fakeparam', null, null, null, null, (data, error) => {
|
|
47810
|
+
try {
|
|
47811
|
+
const displayE = 'id is required';
|
|
47812
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudNetworkPrefixAssignmentsId', displayE);
|
|
47813
|
+
done();
|
|
47814
|
+
} catch (err) {
|
|
47815
|
+
log.error(`Test Failure: ${err}`);
|
|
47816
|
+
done(err);
|
|
47817
|
+
}
|
|
47818
|
+
});
|
|
47819
|
+
} catch (error) {
|
|
47820
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47821
|
+
done(error);
|
|
47822
|
+
}
|
|
47823
|
+
}).timeout(attemptTimeout);
|
|
47824
|
+
});
|
|
47825
|
+
|
|
47826
|
+
describe('#putCloudCloudNetworkPrefixAssignmentsId - errors', () => {
|
|
47827
|
+
it('should have a putCloudCloudNetworkPrefixAssignmentsId function', (done) => {
|
|
47828
|
+
try {
|
|
47829
|
+
assert.equal(true, typeof a.putCloudCloudNetworkPrefixAssignmentsId === 'function');
|
|
47830
|
+
done();
|
|
47831
|
+
} catch (error) {
|
|
47832
|
+
log.error(`Test Failure: ${error}`);
|
|
47833
|
+
done(error);
|
|
47834
|
+
}
|
|
47835
|
+
}).timeout(attemptTimeout);
|
|
47836
|
+
it('should error if - missing id', (done) => {
|
|
47837
|
+
try {
|
|
47838
|
+
a.putCloudCloudNetworkPrefixAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
47839
|
+
try {
|
|
47840
|
+
const displayE = 'id is required';
|
|
47841
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudNetworkPrefixAssignmentsId', displayE);
|
|
47842
|
+
done();
|
|
47843
|
+
} catch (err) {
|
|
47844
|
+
log.error(`Test Failure: ${err}`);
|
|
47845
|
+
done(err);
|
|
47846
|
+
}
|
|
47847
|
+
});
|
|
47848
|
+
} catch (error) {
|
|
47849
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47850
|
+
done(error);
|
|
47851
|
+
}
|
|
47852
|
+
}).timeout(attemptTimeout);
|
|
47853
|
+
it('should error if - missing body', (done) => {
|
|
47854
|
+
try {
|
|
47855
|
+
a.putCloudCloudNetworkPrefixAssignmentsId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
47856
|
+
try {
|
|
47857
|
+
const displayE = 'body is required';
|
|
47858
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudNetworkPrefixAssignmentsId', displayE);
|
|
47859
|
+
done();
|
|
47860
|
+
} catch (err) {
|
|
47861
|
+
log.error(`Test Failure: ${err}`);
|
|
47862
|
+
done(err);
|
|
47863
|
+
}
|
|
47864
|
+
});
|
|
47865
|
+
} catch (error) {
|
|
47866
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47867
|
+
done(error);
|
|
47868
|
+
}
|
|
47869
|
+
}).timeout(attemptTimeout);
|
|
47870
|
+
});
|
|
47871
|
+
|
|
47872
|
+
describe('#patchCloudCloudNetworkPrefixAssignmentsId - errors', () => {
|
|
47873
|
+
it('should have a patchCloudCloudNetworkPrefixAssignmentsId function', (done) => {
|
|
47874
|
+
try {
|
|
47875
|
+
assert.equal(true, typeof a.patchCloudCloudNetworkPrefixAssignmentsId === 'function');
|
|
47876
|
+
done();
|
|
47877
|
+
} catch (error) {
|
|
47878
|
+
log.error(`Test Failure: ${error}`);
|
|
47879
|
+
done(error);
|
|
47880
|
+
}
|
|
47881
|
+
}).timeout(attemptTimeout);
|
|
47882
|
+
it('should error if - missing id', (done) => {
|
|
47883
|
+
try {
|
|
47884
|
+
a.patchCloudCloudNetworkPrefixAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
47885
|
+
try {
|
|
47886
|
+
const displayE = 'id is required';
|
|
47887
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudNetworkPrefixAssignmentsId', displayE);
|
|
47888
|
+
done();
|
|
47889
|
+
} catch (err) {
|
|
47890
|
+
log.error(`Test Failure: ${err}`);
|
|
47891
|
+
done(err);
|
|
47892
|
+
}
|
|
47893
|
+
});
|
|
47894
|
+
} catch (error) {
|
|
47895
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47896
|
+
done(error);
|
|
47897
|
+
}
|
|
47898
|
+
}).timeout(attemptTimeout);
|
|
47899
|
+
});
|
|
47900
|
+
|
|
47901
|
+
describe('#deleteCloudCloudNetworkPrefixAssignmentsId - errors', () => {
|
|
47902
|
+
it('should have a deleteCloudCloudNetworkPrefixAssignmentsId function', (done) => {
|
|
47903
|
+
try {
|
|
47904
|
+
assert.equal(true, typeof a.deleteCloudCloudNetworkPrefixAssignmentsId === 'function');
|
|
47905
|
+
done();
|
|
47906
|
+
} catch (error) {
|
|
47907
|
+
log.error(`Test Failure: ${error}`);
|
|
47908
|
+
done(error);
|
|
47909
|
+
}
|
|
47910
|
+
}).timeout(attemptTimeout);
|
|
47911
|
+
it('should error if - missing id', (done) => {
|
|
47912
|
+
try {
|
|
47913
|
+
a.deleteCloudCloudNetworkPrefixAssignmentsId('fakeparam', null, null, (data, error) => {
|
|
47914
|
+
try {
|
|
47915
|
+
const displayE = 'id is required';
|
|
47916
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudNetworkPrefixAssignmentsId', displayE);
|
|
47917
|
+
done();
|
|
47918
|
+
} catch (err) {
|
|
47919
|
+
log.error(`Test Failure: ${err}`);
|
|
47920
|
+
done(err);
|
|
47921
|
+
}
|
|
47922
|
+
});
|
|
47923
|
+
} catch (error) {
|
|
47924
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47925
|
+
done(error);
|
|
47926
|
+
}
|
|
47927
|
+
}).timeout(attemptTimeout);
|
|
47928
|
+
});
|
|
47929
|
+
|
|
47930
|
+
describe('#getCloudCloudNetworks - errors', () => {
|
|
47931
|
+
it('should have a getCloudCloudNetworks function', (done) => {
|
|
47932
|
+
try {
|
|
47933
|
+
assert.equal(true, typeof a.getCloudCloudNetworks === 'function');
|
|
47934
|
+
done();
|
|
47935
|
+
} catch (error) {
|
|
47936
|
+
log.error(`Test Failure: ${error}`);
|
|
47937
|
+
done(error);
|
|
47938
|
+
}
|
|
47939
|
+
}).timeout(attemptTimeout);
|
|
47940
|
+
});
|
|
47941
|
+
|
|
47942
|
+
describe('#postCloudCloudNetworks - errors', () => {
|
|
47943
|
+
it('should have a postCloudCloudNetworks function', (done) => {
|
|
47944
|
+
try {
|
|
47945
|
+
assert.equal(true, typeof a.postCloudCloudNetworks === 'function');
|
|
47946
|
+
done();
|
|
47947
|
+
} catch (error) {
|
|
47948
|
+
log.error(`Test Failure: ${error}`);
|
|
47949
|
+
done(error);
|
|
47950
|
+
}
|
|
47951
|
+
}).timeout(attemptTimeout);
|
|
47952
|
+
it('should error if - missing body', (done) => {
|
|
47953
|
+
try {
|
|
47954
|
+
a.postCloudCloudNetworks('fakeparam', null, null, (data, error) => {
|
|
47955
|
+
try {
|
|
47956
|
+
const displayE = 'body is required';
|
|
47957
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudNetworks', displayE);
|
|
47958
|
+
done();
|
|
47959
|
+
} catch (err) {
|
|
47960
|
+
log.error(`Test Failure: ${err}`);
|
|
47961
|
+
done(err);
|
|
47962
|
+
}
|
|
47963
|
+
});
|
|
47964
|
+
} catch (error) {
|
|
47965
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47966
|
+
done(error);
|
|
47967
|
+
}
|
|
47968
|
+
}).timeout(attemptTimeout);
|
|
47969
|
+
});
|
|
47970
|
+
|
|
47971
|
+
describe('#putCloudCloudNetworks - errors', () => {
|
|
47972
|
+
it('should have a putCloudCloudNetworks function', (done) => {
|
|
47973
|
+
try {
|
|
47974
|
+
assert.equal(true, typeof a.putCloudCloudNetworks === 'function');
|
|
47975
|
+
done();
|
|
47976
|
+
} catch (error) {
|
|
47977
|
+
log.error(`Test Failure: ${error}`);
|
|
47978
|
+
done(error);
|
|
47979
|
+
}
|
|
47980
|
+
}).timeout(attemptTimeout);
|
|
47981
|
+
it('should error if - missing body', (done) => {
|
|
47982
|
+
try {
|
|
47983
|
+
a.putCloudCloudNetworks('fakeparam', null, null, (data, error) => {
|
|
47984
|
+
try {
|
|
47985
|
+
const displayE = 'body is required';
|
|
47986
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudNetworks', displayE);
|
|
47987
|
+
done();
|
|
47988
|
+
} catch (err) {
|
|
47989
|
+
log.error(`Test Failure: ${err}`);
|
|
47990
|
+
done(err);
|
|
47991
|
+
}
|
|
47992
|
+
});
|
|
47993
|
+
} catch (error) {
|
|
47994
|
+
log.error(`Adapter Exception: ${error}`);
|
|
47995
|
+
done(error);
|
|
47996
|
+
}
|
|
47997
|
+
}).timeout(attemptTimeout);
|
|
47998
|
+
});
|
|
47999
|
+
|
|
48000
|
+
describe('#patchCloudCloudNetworks - errors', () => {
|
|
48001
|
+
it('should have a patchCloudCloudNetworks function', (done) => {
|
|
48002
|
+
try {
|
|
48003
|
+
assert.equal(true, typeof a.patchCloudCloudNetworks === 'function');
|
|
48004
|
+
done();
|
|
48005
|
+
} catch (error) {
|
|
48006
|
+
log.error(`Test Failure: ${error}`);
|
|
48007
|
+
done(error);
|
|
48008
|
+
}
|
|
48009
|
+
}).timeout(attemptTimeout);
|
|
48010
|
+
it('should error if - missing body', (done) => {
|
|
48011
|
+
try {
|
|
48012
|
+
a.patchCloudCloudNetworks('fakeparam', null, null, (data, error) => {
|
|
48013
|
+
try {
|
|
48014
|
+
const displayE = 'body is required';
|
|
48015
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudNetworks', displayE);
|
|
48016
|
+
done();
|
|
48017
|
+
} catch (err) {
|
|
48018
|
+
log.error(`Test Failure: ${err}`);
|
|
48019
|
+
done(err);
|
|
48020
|
+
}
|
|
48021
|
+
});
|
|
48022
|
+
} catch (error) {
|
|
48023
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48024
|
+
done(error);
|
|
48025
|
+
}
|
|
48026
|
+
}).timeout(attemptTimeout);
|
|
48027
|
+
});
|
|
48028
|
+
|
|
48029
|
+
describe('#deleteCloudCloudNetworks - errors', () => {
|
|
48030
|
+
it('should have a deleteCloudCloudNetworks function', (done) => {
|
|
48031
|
+
try {
|
|
48032
|
+
assert.equal(true, typeof a.deleteCloudCloudNetworks === 'function');
|
|
48033
|
+
done();
|
|
48034
|
+
} catch (error) {
|
|
48035
|
+
log.error(`Test Failure: ${error}`);
|
|
48036
|
+
done(error);
|
|
48037
|
+
}
|
|
48038
|
+
}).timeout(attemptTimeout);
|
|
48039
|
+
it('should error if - missing body', (done) => {
|
|
48040
|
+
try {
|
|
48041
|
+
a.deleteCloudCloudNetworks('fakeparam', null, null, (data, error) => {
|
|
48042
|
+
try {
|
|
48043
|
+
const displayE = 'body is required';
|
|
48044
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudNetworks', displayE);
|
|
48045
|
+
done();
|
|
48046
|
+
} catch (err) {
|
|
48047
|
+
log.error(`Test Failure: ${err}`);
|
|
48048
|
+
done(err);
|
|
48049
|
+
}
|
|
48050
|
+
});
|
|
48051
|
+
} catch (error) {
|
|
48052
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48053
|
+
done(error);
|
|
48054
|
+
}
|
|
48055
|
+
}).timeout(attemptTimeout);
|
|
48056
|
+
});
|
|
48057
|
+
|
|
48058
|
+
describe('#getCloudCloudNetworksId - errors', () => {
|
|
48059
|
+
it('should have a getCloudCloudNetworksId function', (done) => {
|
|
48060
|
+
try {
|
|
48061
|
+
assert.equal(true, typeof a.getCloudCloudNetworksId === 'function');
|
|
48062
|
+
done();
|
|
48063
|
+
} catch (error) {
|
|
48064
|
+
log.error(`Test Failure: ${error}`);
|
|
48065
|
+
done(error);
|
|
48066
|
+
}
|
|
48067
|
+
}).timeout(attemptTimeout);
|
|
48068
|
+
it('should error if - missing id', (done) => {
|
|
48069
|
+
try {
|
|
48070
|
+
a.getCloudCloudNetworksId('fakeparam', null, null, null, null, (data, error) => {
|
|
48071
|
+
try {
|
|
48072
|
+
const displayE = 'id is required';
|
|
48073
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudNetworksId', displayE);
|
|
48074
|
+
done();
|
|
48075
|
+
} catch (err) {
|
|
48076
|
+
log.error(`Test Failure: ${err}`);
|
|
48077
|
+
done(err);
|
|
48078
|
+
}
|
|
48079
|
+
});
|
|
48080
|
+
} catch (error) {
|
|
48081
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48082
|
+
done(error);
|
|
48083
|
+
}
|
|
48084
|
+
}).timeout(attemptTimeout);
|
|
48085
|
+
});
|
|
48086
|
+
|
|
48087
|
+
describe('#putCloudCloudNetworksId - errors', () => {
|
|
48088
|
+
it('should have a putCloudCloudNetworksId function', (done) => {
|
|
48089
|
+
try {
|
|
48090
|
+
assert.equal(true, typeof a.putCloudCloudNetworksId === 'function');
|
|
48091
|
+
done();
|
|
48092
|
+
} catch (error) {
|
|
48093
|
+
log.error(`Test Failure: ${error}`);
|
|
48094
|
+
done(error);
|
|
48095
|
+
}
|
|
48096
|
+
}).timeout(attemptTimeout);
|
|
48097
|
+
it('should error if - missing id', (done) => {
|
|
48098
|
+
try {
|
|
48099
|
+
a.putCloudCloudNetworksId('fakeparam', null, null, null, (data, error) => {
|
|
48100
|
+
try {
|
|
48101
|
+
const displayE = 'id is required';
|
|
48102
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudNetworksId', displayE);
|
|
48103
|
+
done();
|
|
48104
|
+
} catch (err) {
|
|
48105
|
+
log.error(`Test Failure: ${err}`);
|
|
48106
|
+
done(err);
|
|
48107
|
+
}
|
|
48108
|
+
});
|
|
48109
|
+
} catch (error) {
|
|
48110
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48111
|
+
done(error);
|
|
48112
|
+
}
|
|
48113
|
+
}).timeout(attemptTimeout);
|
|
48114
|
+
it('should error if - missing body', (done) => {
|
|
48115
|
+
try {
|
|
48116
|
+
a.putCloudCloudNetworksId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
48117
|
+
try {
|
|
48118
|
+
const displayE = 'body is required';
|
|
48119
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudNetworksId', displayE);
|
|
48120
|
+
done();
|
|
48121
|
+
} catch (err) {
|
|
48122
|
+
log.error(`Test Failure: ${err}`);
|
|
48123
|
+
done(err);
|
|
48124
|
+
}
|
|
48125
|
+
});
|
|
48126
|
+
} catch (error) {
|
|
48127
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48128
|
+
done(error);
|
|
48129
|
+
}
|
|
48130
|
+
}).timeout(attemptTimeout);
|
|
48131
|
+
});
|
|
48132
|
+
|
|
48133
|
+
describe('#patchCloudCloudNetworksId - errors', () => {
|
|
48134
|
+
it('should have a patchCloudCloudNetworksId function', (done) => {
|
|
48135
|
+
try {
|
|
48136
|
+
assert.equal(true, typeof a.patchCloudCloudNetworksId === 'function');
|
|
48137
|
+
done();
|
|
48138
|
+
} catch (error) {
|
|
48139
|
+
log.error(`Test Failure: ${error}`);
|
|
48140
|
+
done(error);
|
|
48141
|
+
}
|
|
48142
|
+
}).timeout(attemptTimeout);
|
|
48143
|
+
it('should error if - missing id', (done) => {
|
|
48144
|
+
try {
|
|
48145
|
+
a.patchCloudCloudNetworksId('fakeparam', null, null, null, (data, error) => {
|
|
48146
|
+
try {
|
|
48147
|
+
const displayE = 'id is required';
|
|
48148
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudNetworksId', displayE);
|
|
48149
|
+
done();
|
|
48150
|
+
} catch (err) {
|
|
48151
|
+
log.error(`Test Failure: ${err}`);
|
|
48152
|
+
done(err);
|
|
48153
|
+
}
|
|
48154
|
+
});
|
|
48155
|
+
} catch (error) {
|
|
48156
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48157
|
+
done(error);
|
|
48158
|
+
}
|
|
48159
|
+
}).timeout(attemptTimeout);
|
|
48160
|
+
});
|
|
48161
|
+
|
|
48162
|
+
describe('#deleteCloudCloudNetworksId - errors', () => {
|
|
48163
|
+
it('should have a deleteCloudCloudNetworksId function', (done) => {
|
|
48164
|
+
try {
|
|
48165
|
+
assert.equal(true, typeof a.deleteCloudCloudNetworksId === 'function');
|
|
48166
|
+
done();
|
|
48167
|
+
} catch (error) {
|
|
48168
|
+
log.error(`Test Failure: ${error}`);
|
|
48169
|
+
done(error);
|
|
48170
|
+
}
|
|
48171
|
+
}).timeout(attemptTimeout);
|
|
48172
|
+
it('should error if - missing id', (done) => {
|
|
48173
|
+
try {
|
|
48174
|
+
a.deleteCloudCloudNetworksId('fakeparam', null, null, (data, error) => {
|
|
48175
|
+
try {
|
|
48176
|
+
const displayE = 'id is required';
|
|
48177
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudNetworksId', displayE);
|
|
48178
|
+
done();
|
|
48179
|
+
} catch (err) {
|
|
48180
|
+
log.error(`Test Failure: ${err}`);
|
|
48181
|
+
done(err);
|
|
48182
|
+
}
|
|
48183
|
+
});
|
|
48184
|
+
} catch (error) {
|
|
48185
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48186
|
+
done(error);
|
|
48187
|
+
}
|
|
48188
|
+
}).timeout(attemptTimeout);
|
|
48189
|
+
});
|
|
48190
|
+
|
|
48191
|
+
describe('#getCloudCloudNetworksIdNotes - errors', () => {
|
|
48192
|
+
it('should have a getCloudCloudNetworksIdNotes function', (done) => {
|
|
48193
|
+
try {
|
|
48194
|
+
assert.equal(true, typeof a.getCloudCloudNetworksIdNotes === 'function');
|
|
48195
|
+
done();
|
|
48196
|
+
} catch (error) {
|
|
48197
|
+
log.error(`Test Failure: ${error}`);
|
|
48198
|
+
done(error);
|
|
48199
|
+
}
|
|
48200
|
+
}).timeout(attemptTimeout);
|
|
48201
|
+
it('should error if - missing id', (done) => {
|
|
48202
|
+
try {
|
|
48203
|
+
a.getCloudCloudNetworksIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
48204
|
+
try {
|
|
48205
|
+
const displayE = 'id is required';
|
|
48206
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudNetworksIdNotes', displayE);
|
|
48207
|
+
done();
|
|
48208
|
+
} catch (err) {
|
|
48209
|
+
log.error(`Test Failure: ${err}`);
|
|
48210
|
+
done(err);
|
|
48211
|
+
}
|
|
48212
|
+
});
|
|
48213
|
+
} catch (error) {
|
|
48214
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48215
|
+
done(error);
|
|
48216
|
+
}
|
|
48217
|
+
}).timeout(attemptTimeout);
|
|
48218
|
+
});
|
|
48219
|
+
|
|
48220
|
+
describe('#postCloudCloudNetworksIdNotes - errors', () => {
|
|
48221
|
+
it('should have a postCloudCloudNetworksIdNotes function', (done) => {
|
|
48222
|
+
try {
|
|
48223
|
+
assert.equal(true, typeof a.postCloudCloudNetworksIdNotes === 'function');
|
|
48224
|
+
done();
|
|
48225
|
+
} catch (error) {
|
|
48226
|
+
log.error(`Test Failure: ${error}`);
|
|
48227
|
+
done(error);
|
|
48228
|
+
}
|
|
48229
|
+
}).timeout(attemptTimeout);
|
|
48230
|
+
it('should error if - missing id', (done) => {
|
|
48231
|
+
try {
|
|
48232
|
+
a.postCloudCloudNetworksIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
48233
|
+
try {
|
|
48234
|
+
const displayE = 'id is required';
|
|
48235
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudNetworksIdNotes', displayE);
|
|
48236
|
+
done();
|
|
48237
|
+
} catch (err) {
|
|
48238
|
+
log.error(`Test Failure: ${err}`);
|
|
48239
|
+
done(err);
|
|
48240
|
+
}
|
|
48241
|
+
});
|
|
48242
|
+
} catch (error) {
|
|
48243
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48244
|
+
done(error);
|
|
48245
|
+
}
|
|
48246
|
+
}).timeout(attemptTimeout);
|
|
48247
|
+
it('should error if - missing body', (done) => {
|
|
48248
|
+
try {
|
|
48249
|
+
a.postCloudCloudNetworksIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
48250
|
+
try {
|
|
48251
|
+
const displayE = 'body is required';
|
|
48252
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudNetworksIdNotes', displayE);
|
|
48253
|
+
done();
|
|
48254
|
+
} catch (err) {
|
|
48255
|
+
log.error(`Test Failure: ${err}`);
|
|
48256
|
+
done(err);
|
|
48257
|
+
}
|
|
48258
|
+
});
|
|
48259
|
+
} catch (error) {
|
|
48260
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48261
|
+
done(error);
|
|
48262
|
+
}
|
|
48263
|
+
}).timeout(attemptTimeout);
|
|
48264
|
+
});
|
|
48265
|
+
|
|
48266
|
+
describe('#getCloudCloudResourceTypes - errors', () => {
|
|
48267
|
+
it('should have a getCloudCloudResourceTypes function', (done) => {
|
|
48268
|
+
try {
|
|
48269
|
+
assert.equal(true, typeof a.getCloudCloudResourceTypes === 'function');
|
|
48270
|
+
done();
|
|
48271
|
+
} catch (error) {
|
|
48272
|
+
log.error(`Test Failure: ${error}`);
|
|
48273
|
+
done(error);
|
|
48274
|
+
}
|
|
48275
|
+
}).timeout(attemptTimeout);
|
|
48276
|
+
});
|
|
48277
|
+
|
|
48278
|
+
describe('#postCloudCloudResourceTypes - errors', () => {
|
|
48279
|
+
it('should have a postCloudCloudResourceTypes function', (done) => {
|
|
48280
|
+
try {
|
|
48281
|
+
assert.equal(true, typeof a.postCloudCloudResourceTypes === 'function');
|
|
48282
|
+
done();
|
|
48283
|
+
} catch (error) {
|
|
48284
|
+
log.error(`Test Failure: ${error}`);
|
|
48285
|
+
done(error);
|
|
48286
|
+
}
|
|
48287
|
+
}).timeout(attemptTimeout);
|
|
48288
|
+
it('should error if - missing body', (done) => {
|
|
48289
|
+
try {
|
|
48290
|
+
a.postCloudCloudResourceTypes('fakeparam', null, null, (data, error) => {
|
|
48291
|
+
try {
|
|
48292
|
+
const displayE = 'body is required';
|
|
48293
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudResourceTypes', displayE);
|
|
48294
|
+
done();
|
|
48295
|
+
} catch (err) {
|
|
48296
|
+
log.error(`Test Failure: ${err}`);
|
|
48297
|
+
done(err);
|
|
48298
|
+
}
|
|
48299
|
+
});
|
|
48300
|
+
} catch (error) {
|
|
48301
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48302
|
+
done(error);
|
|
48303
|
+
}
|
|
48304
|
+
}).timeout(attemptTimeout);
|
|
48305
|
+
});
|
|
48306
|
+
|
|
48307
|
+
describe('#putCloudCloudResourceTypes - errors', () => {
|
|
48308
|
+
it('should have a putCloudCloudResourceTypes function', (done) => {
|
|
48309
|
+
try {
|
|
48310
|
+
assert.equal(true, typeof a.putCloudCloudResourceTypes === 'function');
|
|
48311
|
+
done();
|
|
48312
|
+
} catch (error) {
|
|
48313
|
+
log.error(`Test Failure: ${error}`);
|
|
48314
|
+
done(error);
|
|
48315
|
+
}
|
|
48316
|
+
}).timeout(attemptTimeout);
|
|
48317
|
+
it('should error if - missing body', (done) => {
|
|
48318
|
+
try {
|
|
48319
|
+
a.putCloudCloudResourceTypes('fakeparam', null, null, (data, error) => {
|
|
48320
|
+
try {
|
|
48321
|
+
const displayE = 'body is required';
|
|
48322
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudResourceTypes', displayE);
|
|
48323
|
+
done();
|
|
48324
|
+
} catch (err) {
|
|
48325
|
+
log.error(`Test Failure: ${err}`);
|
|
48326
|
+
done(err);
|
|
48327
|
+
}
|
|
48328
|
+
});
|
|
48329
|
+
} catch (error) {
|
|
48330
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48331
|
+
done(error);
|
|
48332
|
+
}
|
|
48333
|
+
}).timeout(attemptTimeout);
|
|
48334
|
+
});
|
|
48335
|
+
|
|
48336
|
+
describe('#patchCloudCloudResourceTypes - errors', () => {
|
|
48337
|
+
it('should have a patchCloudCloudResourceTypes function', (done) => {
|
|
48338
|
+
try {
|
|
48339
|
+
assert.equal(true, typeof a.patchCloudCloudResourceTypes === 'function');
|
|
48340
|
+
done();
|
|
48341
|
+
} catch (error) {
|
|
48342
|
+
log.error(`Test Failure: ${error}`);
|
|
48343
|
+
done(error);
|
|
48344
|
+
}
|
|
48345
|
+
}).timeout(attemptTimeout);
|
|
48346
|
+
it('should error if - missing body', (done) => {
|
|
48347
|
+
try {
|
|
48348
|
+
a.patchCloudCloudResourceTypes('fakeparam', null, null, (data, error) => {
|
|
48349
|
+
try {
|
|
48350
|
+
const displayE = 'body is required';
|
|
48351
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudResourceTypes', displayE);
|
|
48352
|
+
done();
|
|
48353
|
+
} catch (err) {
|
|
48354
|
+
log.error(`Test Failure: ${err}`);
|
|
48355
|
+
done(err);
|
|
48356
|
+
}
|
|
48357
|
+
});
|
|
48358
|
+
} catch (error) {
|
|
48359
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48360
|
+
done(error);
|
|
48361
|
+
}
|
|
48362
|
+
}).timeout(attemptTimeout);
|
|
48363
|
+
});
|
|
48364
|
+
|
|
48365
|
+
describe('#deleteCloudCloudResourceTypes - errors', () => {
|
|
48366
|
+
it('should have a deleteCloudCloudResourceTypes function', (done) => {
|
|
48367
|
+
try {
|
|
48368
|
+
assert.equal(true, typeof a.deleteCloudCloudResourceTypes === 'function');
|
|
48369
|
+
done();
|
|
48370
|
+
} catch (error) {
|
|
48371
|
+
log.error(`Test Failure: ${error}`);
|
|
48372
|
+
done(error);
|
|
48373
|
+
}
|
|
48374
|
+
}).timeout(attemptTimeout);
|
|
48375
|
+
it('should error if - missing body', (done) => {
|
|
48376
|
+
try {
|
|
48377
|
+
a.deleteCloudCloudResourceTypes('fakeparam', null, null, (data, error) => {
|
|
48378
|
+
try {
|
|
48379
|
+
const displayE = 'body is required';
|
|
48380
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudResourceTypes', displayE);
|
|
48381
|
+
done();
|
|
48382
|
+
} catch (err) {
|
|
48383
|
+
log.error(`Test Failure: ${err}`);
|
|
48384
|
+
done(err);
|
|
48385
|
+
}
|
|
48386
|
+
});
|
|
48387
|
+
} catch (error) {
|
|
48388
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48389
|
+
done(error);
|
|
48390
|
+
}
|
|
48391
|
+
}).timeout(attemptTimeout);
|
|
48392
|
+
});
|
|
48393
|
+
|
|
48394
|
+
describe('#getCloudCloudResourceTypesId - errors', () => {
|
|
48395
|
+
it('should have a getCloudCloudResourceTypesId function', (done) => {
|
|
48396
|
+
try {
|
|
48397
|
+
assert.equal(true, typeof a.getCloudCloudResourceTypesId === 'function');
|
|
48398
|
+
done();
|
|
48399
|
+
} catch (error) {
|
|
48400
|
+
log.error(`Test Failure: ${error}`);
|
|
48401
|
+
done(error);
|
|
48402
|
+
}
|
|
48403
|
+
}).timeout(attemptTimeout);
|
|
48404
|
+
it('should error if - missing id', (done) => {
|
|
48405
|
+
try {
|
|
48406
|
+
a.getCloudCloudResourceTypesId('fakeparam', null, null, null, null, (data, error) => {
|
|
48407
|
+
try {
|
|
48408
|
+
const displayE = 'id is required';
|
|
48409
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudResourceTypesId', displayE);
|
|
48410
|
+
done();
|
|
48411
|
+
} catch (err) {
|
|
48412
|
+
log.error(`Test Failure: ${err}`);
|
|
48413
|
+
done(err);
|
|
48414
|
+
}
|
|
48415
|
+
});
|
|
48416
|
+
} catch (error) {
|
|
48417
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48418
|
+
done(error);
|
|
48419
|
+
}
|
|
48420
|
+
}).timeout(attemptTimeout);
|
|
48421
|
+
});
|
|
48422
|
+
|
|
48423
|
+
describe('#putCloudCloudResourceTypesId - errors', () => {
|
|
48424
|
+
it('should have a putCloudCloudResourceTypesId function', (done) => {
|
|
48425
|
+
try {
|
|
48426
|
+
assert.equal(true, typeof a.putCloudCloudResourceTypesId === 'function');
|
|
48427
|
+
done();
|
|
48428
|
+
} catch (error) {
|
|
48429
|
+
log.error(`Test Failure: ${error}`);
|
|
48430
|
+
done(error);
|
|
48431
|
+
}
|
|
48432
|
+
}).timeout(attemptTimeout);
|
|
48433
|
+
it('should error if - missing id', (done) => {
|
|
48434
|
+
try {
|
|
48435
|
+
a.putCloudCloudResourceTypesId('fakeparam', null, null, null, (data, error) => {
|
|
48436
|
+
try {
|
|
48437
|
+
const displayE = 'id is required';
|
|
48438
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudResourceTypesId', displayE);
|
|
48439
|
+
done();
|
|
48440
|
+
} catch (err) {
|
|
48441
|
+
log.error(`Test Failure: ${err}`);
|
|
48442
|
+
done(err);
|
|
48443
|
+
}
|
|
48444
|
+
});
|
|
48445
|
+
} catch (error) {
|
|
48446
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48447
|
+
done(error);
|
|
48448
|
+
}
|
|
48449
|
+
}).timeout(attemptTimeout);
|
|
48450
|
+
it('should error if - missing body', (done) => {
|
|
48451
|
+
try {
|
|
48452
|
+
a.putCloudCloudResourceTypesId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
48453
|
+
try {
|
|
48454
|
+
const displayE = 'body is required';
|
|
48455
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudResourceTypesId', displayE);
|
|
48456
|
+
done();
|
|
48457
|
+
} catch (err) {
|
|
48458
|
+
log.error(`Test Failure: ${err}`);
|
|
48459
|
+
done(err);
|
|
48460
|
+
}
|
|
48461
|
+
});
|
|
48462
|
+
} catch (error) {
|
|
48463
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48464
|
+
done(error);
|
|
48465
|
+
}
|
|
48466
|
+
}).timeout(attemptTimeout);
|
|
48467
|
+
});
|
|
48468
|
+
|
|
48469
|
+
describe('#patchCloudCloudResourceTypesId - errors', () => {
|
|
48470
|
+
it('should have a patchCloudCloudResourceTypesId function', (done) => {
|
|
48471
|
+
try {
|
|
48472
|
+
assert.equal(true, typeof a.patchCloudCloudResourceTypesId === 'function');
|
|
48473
|
+
done();
|
|
48474
|
+
} catch (error) {
|
|
48475
|
+
log.error(`Test Failure: ${error}`);
|
|
48476
|
+
done(error);
|
|
48477
|
+
}
|
|
48478
|
+
}).timeout(attemptTimeout);
|
|
48479
|
+
it('should error if - missing id', (done) => {
|
|
48480
|
+
try {
|
|
48481
|
+
a.patchCloudCloudResourceTypesId('fakeparam', null, null, null, (data, error) => {
|
|
48482
|
+
try {
|
|
48483
|
+
const displayE = 'id is required';
|
|
48484
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudResourceTypesId', displayE);
|
|
48485
|
+
done();
|
|
48486
|
+
} catch (err) {
|
|
48487
|
+
log.error(`Test Failure: ${err}`);
|
|
48488
|
+
done(err);
|
|
48489
|
+
}
|
|
48490
|
+
});
|
|
48491
|
+
} catch (error) {
|
|
48492
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48493
|
+
done(error);
|
|
48494
|
+
}
|
|
48495
|
+
}).timeout(attemptTimeout);
|
|
48496
|
+
});
|
|
48497
|
+
|
|
48498
|
+
describe('#deleteCloudCloudResourceTypesId - errors', () => {
|
|
48499
|
+
it('should have a deleteCloudCloudResourceTypesId function', (done) => {
|
|
48500
|
+
try {
|
|
48501
|
+
assert.equal(true, typeof a.deleteCloudCloudResourceTypesId === 'function');
|
|
48502
|
+
done();
|
|
48503
|
+
} catch (error) {
|
|
48504
|
+
log.error(`Test Failure: ${error}`);
|
|
48505
|
+
done(error);
|
|
48506
|
+
}
|
|
48507
|
+
}).timeout(attemptTimeout);
|
|
48508
|
+
it('should error if - missing id', (done) => {
|
|
48509
|
+
try {
|
|
48510
|
+
a.deleteCloudCloudResourceTypesId('fakeparam', null, null, (data, error) => {
|
|
48511
|
+
try {
|
|
48512
|
+
const displayE = 'id is required';
|
|
48513
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudResourceTypesId', displayE);
|
|
48514
|
+
done();
|
|
48515
|
+
} catch (err) {
|
|
48516
|
+
log.error(`Test Failure: ${err}`);
|
|
48517
|
+
done(err);
|
|
48518
|
+
}
|
|
48519
|
+
});
|
|
48520
|
+
} catch (error) {
|
|
48521
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48522
|
+
done(error);
|
|
48523
|
+
}
|
|
48524
|
+
}).timeout(attemptTimeout);
|
|
48525
|
+
});
|
|
48526
|
+
|
|
48527
|
+
describe('#getCloudCloudResourceTypesIdNotes - errors', () => {
|
|
48528
|
+
it('should have a getCloudCloudResourceTypesIdNotes function', (done) => {
|
|
48529
|
+
try {
|
|
48530
|
+
assert.equal(true, typeof a.getCloudCloudResourceTypesIdNotes === 'function');
|
|
48531
|
+
done();
|
|
48532
|
+
} catch (error) {
|
|
48533
|
+
log.error(`Test Failure: ${error}`);
|
|
48534
|
+
done(error);
|
|
48535
|
+
}
|
|
48536
|
+
}).timeout(attemptTimeout);
|
|
48537
|
+
it('should error if - missing id', (done) => {
|
|
48538
|
+
try {
|
|
48539
|
+
a.getCloudCloudResourceTypesIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
48540
|
+
try {
|
|
48541
|
+
const displayE = 'id is required';
|
|
48542
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudResourceTypesIdNotes', displayE);
|
|
48543
|
+
done();
|
|
48544
|
+
} catch (err) {
|
|
48545
|
+
log.error(`Test Failure: ${err}`);
|
|
48546
|
+
done(err);
|
|
48547
|
+
}
|
|
48548
|
+
});
|
|
48549
|
+
} catch (error) {
|
|
48550
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48551
|
+
done(error);
|
|
48552
|
+
}
|
|
48553
|
+
}).timeout(attemptTimeout);
|
|
48554
|
+
});
|
|
48555
|
+
|
|
48556
|
+
describe('#postCloudCloudResourceTypesIdNotes - errors', () => {
|
|
48557
|
+
it('should have a postCloudCloudResourceTypesIdNotes function', (done) => {
|
|
48558
|
+
try {
|
|
48559
|
+
assert.equal(true, typeof a.postCloudCloudResourceTypesIdNotes === 'function');
|
|
48560
|
+
done();
|
|
48561
|
+
} catch (error) {
|
|
48562
|
+
log.error(`Test Failure: ${error}`);
|
|
48563
|
+
done(error);
|
|
48564
|
+
}
|
|
48565
|
+
}).timeout(attemptTimeout);
|
|
48566
|
+
it('should error if - missing id', (done) => {
|
|
48567
|
+
try {
|
|
48568
|
+
a.postCloudCloudResourceTypesIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
48569
|
+
try {
|
|
48570
|
+
const displayE = 'id is required';
|
|
48571
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudResourceTypesIdNotes', displayE);
|
|
48572
|
+
done();
|
|
48573
|
+
} catch (err) {
|
|
48574
|
+
log.error(`Test Failure: ${err}`);
|
|
48575
|
+
done(err);
|
|
48576
|
+
}
|
|
48577
|
+
});
|
|
48578
|
+
} catch (error) {
|
|
48579
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48580
|
+
done(error);
|
|
48581
|
+
}
|
|
48582
|
+
}).timeout(attemptTimeout);
|
|
48583
|
+
it('should error if - missing body', (done) => {
|
|
48584
|
+
try {
|
|
48585
|
+
a.postCloudCloudResourceTypesIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
48586
|
+
try {
|
|
48587
|
+
const displayE = 'body is required';
|
|
48588
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudResourceTypesIdNotes', displayE);
|
|
48589
|
+
done();
|
|
48590
|
+
} catch (err) {
|
|
48591
|
+
log.error(`Test Failure: ${err}`);
|
|
48592
|
+
done(err);
|
|
48593
|
+
}
|
|
48594
|
+
});
|
|
48595
|
+
} catch (error) {
|
|
48596
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48597
|
+
done(error);
|
|
48598
|
+
}
|
|
48599
|
+
}).timeout(attemptTimeout);
|
|
48600
|
+
});
|
|
48601
|
+
|
|
48602
|
+
describe('#getCloudCloudServiceNetworkAssignments - errors', () => {
|
|
48603
|
+
it('should have a getCloudCloudServiceNetworkAssignments function', (done) => {
|
|
48604
|
+
try {
|
|
48605
|
+
assert.equal(true, typeof a.getCloudCloudServiceNetworkAssignments === 'function');
|
|
48606
|
+
done();
|
|
48607
|
+
} catch (error) {
|
|
48608
|
+
log.error(`Test Failure: ${error}`);
|
|
48609
|
+
done(error);
|
|
48610
|
+
}
|
|
48611
|
+
}).timeout(attemptTimeout);
|
|
48612
|
+
});
|
|
48613
|
+
|
|
48614
|
+
describe('#postCloudCloudServiceNetworkAssignments - errors', () => {
|
|
48615
|
+
it('should have a postCloudCloudServiceNetworkAssignments function', (done) => {
|
|
48616
|
+
try {
|
|
48617
|
+
assert.equal(true, typeof a.postCloudCloudServiceNetworkAssignments === 'function');
|
|
48618
|
+
done();
|
|
48619
|
+
} catch (error) {
|
|
48620
|
+
log.error(`Test Failure: ${error}`);
|
|
48621
|
+
done(error);
|
|
48622
|
+
}
|
|
48623
|
+
}).timeout(attemptTimeout);
|
|
48624
|
+
it('should error if - missing body', (done) => {
|
|
48625
|
+
try {
|
|
48626
|
+
a.postCloudCloudServiceNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
48627
|
+
try {
|
|
48628
|
+
const displayE = 'body is required';
|
|
48629
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudServiceNetworkAssignments', displayE);
|
|
48630
|
+
done();
|
|
48631
|
+
} catch (err) {
|
|
48632
|
+
log.error(`Test Failure: ${err}`);
|
|
48633
|
+
done(err);
|
|
48634
|
+
}
|
|
48635
|
+
});
|
|
48636
|
+
} catch (error) {
|
|
48637
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48638
|
+
done(error);
|
|
48639
|
+
}
|
|
48640
|
+
}).timeout(attemptTimeout);
|
|
48641
|
+
});
|
|
48642
|
+
|
|
48643
|
+
describe('#putCloudCloudServiceNetworkAssignments - errors', () => {
|
|
48644
|
+
it('should have a putCloudCloudServiceNetworkAssignments function', (done) => {
|
|
48645
|
+
try {
|
|
48646
|
+
assert.equal(true, typeof a.putCloudCloudServiceNetworkAssignments === 'function');
|
|
48647
|
+
done();
|
|
48648
|
+
} catch (error) {
|
|
48649
|
+
log.error(`Test Failure: ${error}`);
|
|
48650
|
+
done(error);
|
|
48651
|
+
}
|
|
48652
|
+
}).timeout(attemptTimeout);
|
|
48653
|
+
it('should error if - missing body', (done) => {
|
|
48654
|
+
try {
|
|
48655
|
+
a.putCloudCloudServiceNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
48656
|
+
try {
|
|
48657
|
+
const displayE = 'body is required';
|
|
48658
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudServiceNetworkAssignments', displayE);
|
|
48659
|
+
done();
|
|
48660
|
+
} catch (err) {
|
|
48661
|
+
log.error(`Test Failure: ${err}`);
|
|
48662
|
+
done(err);
|
|
48663
|
+
}
|
|
48664
|
+
});
|
|
48665
|
+
} catch (error) {
|
|
48666
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48667
|
+
done(error);
|
|
48668
|
+
}
|
|
48669
|
+
}).timeout(attemptTimeout);
|
|
48670
|
+
});
|
|
48671
|
+
|
|
48672
|
+
describe('#patchCloudCloudServiceNetworkAssignments - errors', () => {
|
|
48673
|
+
it('should have a patchCloudCloudServiceNetworkAssignments function', (done) => {
|
|
48674
|
+
try {
|
|
48675
|
+
assert.equal(true, typeof a.patchCloudCloudServiceNetworkAssignments === 'function');
|
|
48676
|
+
done();
|
|
48677
|
+
} catch (error) {
|
|
48678
|
+
log.error(`Test Failure: ${error}`);
|
|
48679
|
+
done(error);
|
|
48680
|
+
}
|
|
48681
|
+
}).timeout(attemptTimeout);
|
|
48682
|
+
it('should error if - missing body', (done) => {
|
|
48683
|
+
try {
|
|
48684
|
+
a.patchCloudCloudServiceNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
48685
|
+
try {
|
|
48686
|
+
const displayE = 'body is required';
|
|
48687
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudServiceNetworkAssignments', displayE);
|
|
48688
|
+
done();
|
|
48689
|
+
} catch (err) {
|
|
48690
|
+
log.error(`Test Failure: ${err}`);
|
|
48691
|
+
done(err);
|
|
48692
|
+
}
|
|
48693
|
+
});
|
|
48694
|
+
} catch (error) {
|
|
48695
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48696
|
+
done(error);
|
|
48697
|
+
}
|
|
48698
|
+
}).timeout(attemptTimeout);
|
|
48699
|
+
});
|
|
48700
|
+
|
|
48701
|
+
describe('#deleteCloudCloudServiceNetworkAssignments - errors', () => {
|
|
48702
|
+
it('should have a deleteCloudCloudServiceNetworkAssignments function', (done) => {
|
|
48703
|
+
try {
|
|
48704
|
+
assert.equal(true, typeof a.deleteCloudCloudServiceNetworkAssignments === 'function');
|
|
48705
|
+
done();
|
|
48706
|
+
} catch (error) {
|
|
48707
|
+
log.error(`Test Failure: ${error}`);
|
|
48708
|
+
done(error);
|
|
48709
|
+
}
|
|
48710
|
+
}).timeout(attemptTimeout);
|
|
48711
|
+
it('should error if - missing body', (done) => {
|
|
48712
|
+
try {
|
|
48713
|
+
a.deleteCloudCloudServiceNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
48714
|
+
try {
|
|
48715
|
+
const displayE = 'body is required';
|
|
48716
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudServiceNetworkAssignments', displayE);
|
|
48717
|
+
done();
|
|
48718
|
+
} catch (err) {
|
|
48719
|
+
log.error(`Test Failure: ${err}`);
|
|
48720
|
+
done(err);
|
|
48721
|
+
}
|
|
48722
|
+
});
|
|
48723
|
+
} catch (error) {
|
|
48724
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48725
|
+
done(error);
|
|
48726
|
+
}
|
|
48727
|
+
}).timeout(attemptTimeout);
|
|
48728
|
+
});
|
|
48729
|
+
|
|
48730
|
+
describe('#getCloudCloudServiceNetworkAssignmentsId - errors', () => {
|
|
48731
|
+
it('should have a getCloudCloudServiceNetworkAssignmentsId function', (done) => {
|
|
48732
|
+
try {
|
|
48733
|
+
assert.equal(true, typeof a.getCloudCloudServiceNetworkAssignmentsId === 'function');
|
|
48734
|
+
done();
|
|
48735
|
+
} catch (error) {
|
|
48736
|
+
log.error(`Test Failure: ${error}`);
|
|
48737
|
+
done(error);
|
|
48738
|
+
}
|
|
48739
|
+
}).timeout(attemptTimeout);
|
|
48740
|
+
it('should error if - missing id', (done) => {
|
|
48741
|
+
try {
|
|
48742
|
+
a.getCloudCloudServiceNetworkAssignmentsId('fakeparam', null, null, null, null, (data, error) => {
|
|
48743
|
+
try {
|
|
48744
|
+
const displayE = 'id is required';
|
|
48745
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudServiceNetworkAssignmentsId', displayE);
|
|
48746
|
+
done();
|
|
48747
|
+
} catch (err) {
|
|
48748
|
+
log.error(`Test Failure: ${err}`);
|
|
48749
|
+
done(err);
|
|
48750
|
+
}
|
|
48751
|
+
});
|
|
48752
|
+
} catch (error) {
|
|
48753
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48754
|
+
done(error);
|
|
48755
|
+
}
|
|
48756
|
+
}).timeout(attemptTimeout);
|
|
48757
|
+
});
|
|
48758
|
+
|
|
48759
|
+
describe('#putCloudCloudServiceNetworkAssignmentsId - errors', () => {
|
|
48760
|
+
it('should have a putCloudCloudServiceNetworkAssignmentsId function', (done) => {
|
|
48761
|
+
try {
|
|
48762
|
+
assert.equal(true, typeof a.putCloudCloudServiceNetworkAssignmentsId === 'function');
|
|
48763
|
+
done();
|
|
48764
|
+
} catch (error) {
|
|
48765
|
+
log.error(`Test Failure: ${error}`);
|
|
48766
|
+
done(error);
|
|
48767
|
+
}
|
|
48768
|
+
}).timeout(attemptTimeout);
|
|
48769
|
+
it('should error if - missing id', (done) => {
|
|
48770
|
+
try {
|
|
48771
|
+
a.putCloudCloudServiceNetworkAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
48772
|
+
try {
|
|
48773
|
+
const displayE = 'id is required';
|
|
48774
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudServiceNetworkAssignmentsId', displayE);
|
|
48775
|
+
done();
|
|
48776
|
+
} catch (err) {
|
|
48777
|
+
log.error(`Test Failure: ${err}`);
|
|
48778
|
+
done(err);
|
|
48779
|
+
}
|
|
48780
|
+
});
|
|
48781
|
+
} catch (error) {
|
|
48782
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48783
|
+
done(error);
|
|
48784
|
+
}
|
|
48785
|
+
}).timeout(attemptTimeout);
|
|
48786
|
+
it('should error if - missing body', (done) => {
|
|
48787
|
+
try {
|
|
48788
|
+
a.putCloudCloudServiceNetworkAssignmentsId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
48789
|
+
try {
|
|
48790
|
+
const displayE = 'body is required';
|
|
48791
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudServiceNetworkAssignmentsId', displayE);
|
|
48792
|
+
done();
|
|
48793
|
+
} catch (err) {
|
|
48794
|
+
log.error(`Test Failure: ${err}`);
|
|
48795
|
+
done(err);
|
|
48796
|
+
}
|
|
48797
|
+
});
|
|
48798
|
+
} catch (error) {
|
|
48799
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48800
|
+
done(error);
|
|
48801
|
+
}
|
|
48802
|
+
}).timeout(attemptTimeout);
|
|
48803
|
+
});
|
|
48804
|
+
|
|
48805
|
+
describe('#patchCloudCloudServiceNetworkAssignmentsId - errors', () => {
|
|
48806
|
+
it('should have a patchCloudCloudServiceNetworkAssignmentsId function', (done) => {
|
|
48807
|
+
try {
|
|
48808
|
+
assert.equal(true, typeof a.patchCloudCloudServiceNetworkAssignmentsId === 'function');
|
|
48809
|
+
done();
|
|
48810
|
+
} catch (error) {
|
|
48811
|
+
log.error(`Test Failure: ${error}`);
|
|
48812
|
+
done(error);
|
|
48813
|
+
}
|
|
48814
|
+
}).timeout(attemptTimeout);
|
|
48815
|
+
it('should error if - missing id', (done) => {
|
|
48816
|
+
try {
|
|
48817
|
+
a.patchCloudCloudServiceNetworkAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
48818
|
+
try {
|
|
48819
|
+
const displayE = 'id is required';
|
|
48820
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudServiceNetworkAssignmentsId', displayE);
|
|
48821
|
+
done();
|
|
48822
|
+
} catch (err) {
|
|
48823
|
+
log.error(`Test Failure: ${err}`);
|
|
48824
|
+
done(err);
|
|
48825
|
+
}
|
|
48826
|
+
});
|
|
48827
|
+
} catch (error) {
|
|
48828
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48829
|
+
done(error);
|
|
48830
|
+
}
|
|
48831
|
+
}).timeout(attemptTimeout);
|
|
48832
|
+
});
|
|
48833
|
+
|
|
48834
|
+
describe('#deleteCloudCloudServiceNetworkAssignmentsId - errors', () => {
|
|
48835
|
+
it('should have a deleteCloudCloudServiceNetworkAssignmentsId function', (done) => {
|
|
48836
|
+
try {
|
|
48837
|
+
assert.equal(true, typeof a.deleteCloudCloudServiceNetworkAssignmentsId === 'function');
|
|
48838
|
+
done();
|
|
48839
|
+
} catch (error) {
|
|
48840
|
+
log.error(`Test Failure: ${error}`);
|
|
48841
|
+
done(error);
|
|
48842
|
+
}
|
|
48843
|
+
}).timeout(attemptTimeout);
|
|
48844
|
+
it('should error if - missing id', (done) => {
|
|
48845
|
+
try {
|
|
48846
|
+
a.deleteCloudCloudServiceNetworkAssignmentsId('fakeparam', null, null, (data, error) => {
|
|
48847
|
+
try {
|
|
48848
|
+
const displayE = 'id is required';
|
|
48849
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudServiceNetworkAssignmentsId', displayE);
|
|
48850
|
+
done();
|
|
48851
|
+
} catch (err) {
|
|
48852
|
+
log.error(`Test Failure: ${err}`);
|
|
48853
|
+
done(err);
|
|
48854
|
+
}
|
|
48855
|
+
});
|
|
48856
|
+
} catch (error) {
|
|
48857
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48858
|
+
done(error);
|
|
48859
|
+
}
|
|
48860
|
+
}).timeout(attemptTimeout);
|
|
48861
|
+
});
|
|
48862
|
+
|
|
48863
|
+
describe('#getCloudCloudServices - errors', () => {
|
|
48864
|
+
it('should have a getCloudCloudServices function', (done) => {
|
|
48865
|
+
try {
|
|
48866
|
+
assert.equal(true, typeof a.getCloudCloudServices === 'function');
|
|
48867
|
+
done();
|
|
48868
|
+
} catch (error) {
|
|
48869
|
+
log.error(`Test Failure: ${error}`);
|
|
48870
|
+
done(error);
|
|
48871
|
+
}
|
|
48872
|
+
}).timeout(attemptTimeout);
|
|
48873
|
+
});
|
|
48874
|
+
|
|
48875
|
+
describe('#postCloudCloudServices - errors', () => {
|
|
48876
|
+
it('should have a postCloudCloudServices function', (done) => {
|
|
48877
|
+
try {
|
|
48878
|
+
assert.equal(true, typeof a.postCloudCloudServices === 'function');
|
|
48879
|
+
done();
|
|
48880
|
+
} catch (error) {
|
|
48881
|
+
log.error(`Test Failure: ${error}`);
|
|
48882
|
+
done(error);
|
|
48883
|
+
}
|
|
48884
|
+
}).timeout(attemptTimeout);
|
|
48885
|
+
it('should error if - missing body', (done) => {
|
|
48886
|
+
try {
|
|
48887
|
+
a.postCloudCloudServices('fakeparam', null, null, (data, error) => {
|
|
48888
|
+
try {
|
|
48889
|
+
const displayE = 'body is required';
|
|
48890
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudServices', displayE);
|
|
48891
|
+
done();
|
|
48892
|
+
} catch (err) {
|
|
48893
|
+
log.error(`Test Failure: ${err}`);
|
|
48894
|
+
done(err);
|
|
48895
|
+
}
|
|
48896
|
+
});
|
|
48897
|
+
} catch (error) {
|
|
48898
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48899
|
+
done(error);
|
|
48900
|
+
}
|
|
48901
|
+
}).timeout(attemptTimeout);
|
|
48902
|
+
});
|
|
48903
|
+
|
|
48904
|
+
describe('#putCloudCloudServices - errors', () => {
|
|
48905
|
+
it('should have a putCloudCloudServices function', (done) => {
|
|
48906
|
+
try {
|
|
48907
|
+
assert.equal(true, typeof a.putCloudCloudServices === 'function');
|
|
48908
|
+
done();
|
|
48909
|
+
} catch (error) {
|
|
48910
|
+
log.error(`Test Failure: ${error}`);
|
|
48911
|
+
done(error);
|
|
48912
|
+
}
|
|
48913
|
+
}).timeout(attemptTimeout);
|
|
48914
|
+
it('should error if - missing body', (done) => {
|
|
48915
|
+
try {
|
|
48916
|
+
a.putCloudCloudServices('fakeparam', null, null, (data, error) => {
|
|
48917
|
+
try {
|
|
48918
|
+
const displayE = 'body is required';
|
|
48919
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudServices', displayE);
|
|
48920
|
+
done();
|
|
48921
|
+
} catch (err) {
|
|
48922
|
+
log.error(`Test Failure: ${err}`);
|
|
48923
|
+
done(err);
|
|
48924
|
+
}
|
|
48925
|
+
});
|
|
48926
|
+
} catch (error) {
|
|
48927
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48928
|
+
done(error);
|
|
48929
|
+
}
|
|
48930
|
+
}).timeout(attemptTimeout);
|
|
48931
|
+
});
|
|
48932
|
+
|
|
48933
|
+
describe('#patchCloudCloudServices - errors', () => {
|
|
48934
|
+
it('should have a patchCloudCloudServices function', (done) => {
|
|
48935
|
+
try {
|
|
48936
|
+
assert.equal(true, typeof a.patchCloudCloudServices === 'function');
|
|
48937
|
+
done();
|
|
48938
|
+
} catch (error) {
|
|
48939
|
+
log.error(`Test Failure: ${error}`);
|
|
48940
|
+
done(error);
|
|
48941
|
+
}
|
|
48942
|
+
}).timeout(attemptTimeout);
|
|
48943
|
+
it('should error if - missing body', (done) => {
|
|
48944
|
+
try {
|
|
48945
|
+
a.patchCloudCloudServices('fakeparam', null, null, (data, error) => {
|
|
48946
|
+
try {
|
|
48947
|
+
const displayE = 'body is required';
|
|
48948
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudServices', displayE);
|
|
48949
|
+
done();
|
|
48950
|
+
} catch (err) {
|
|
48951
|
+
log.error(`Test Failure: ${err}`);
|
|
48952
|
+
done(err);
|
|
48953
|
+
}
|
|
48954
|
+
});
|
|
48955
|
+
} catch (error) {
|
|
48956
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48957
|
+
done(error);
|
|
48958
|
+
}
|
|
48959
|
+
}).timeout(attemptTimeout);
|
|
48960
|
+
});
|
|
48961
|
+
|
|
48962
|
+
describe('#deleteCloudCloudServices - errors', () => {
|
|
48963
|
+
it('should have a deleteCloudCloudServices function', (done) => {
|
|
48964
|
+
try {
|
|
48965
|
+
assert.equal(true, typeof a.deleteCloudCloudServices === 'function');
|
|
48966
|
+
done();
|
|
48967
|
+
} catch (error) {
|
|
48968
|
+
log.error(`Test Failure: ${error}`);
|
|
48969
|
+
done(error);
|
|
48970
|
+
}
|
|
48971
|
+
}).timeout(attemptTimeout);
|
|
48972
|
+
it('should error if - missing body', (done) => {
|
|
48973
|
+
try {
|
|
48974
|
+
a.deleteCloudCloudServices('fakeparam', null, null, (data, error) => {
|
|
48975
|
+
try {
|
|
48976
|
+
const displayE = 'body is required';
|
|
48977
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudServices', displayE);
|
|
48978
|
+
done();
|
|
48979
|
+
} catch (err) {
|
|
48980
|
+
log.error(`Test Failure: ${err}`);
|
|
48981
|
+
done(err);
|
|
48982
|
+
}
|
|
48983
|
+
});
|
|
48984
|
+
} catch (error) {
|
|
48985
|
+
log.error(`Adapter Exception: ${error}`);
|
|
48986
|
+
done(error);
|
|
48987
|
+
}
|
|
48988
|
+
}).timeout(attemptTimeout);
|
|
48989
|
+
});
|
|
48990
|
+
|
|
48991
|
+
describe('#getCloudCloudServicesId - errors', () => {
|
|
48992
|
+
it('should have a getCloudCloudServicesId function', (done) => {
|
|
48993
|
+
try {
|
|
48994
|
+
assert.equal(true, typeof a.getCloudCloudServicesId === 'function');
|
|
48995
|
+
done();
|
|
48996
|
+
} catch (error) {
|
|
48997
|
+
log.error(`Test Failure: ${error}`);
|
|
48998
|
+
done(error);
|
|
48999
|
+
}
|
|
49000
|
+
}).timeout(attemptTimeout);
|
|
49001
|
+
it('should error if - missing id', (done) => {
|
|
49002
|
+
try {
|
|
49003
|
+
a.getCloudCloudServicesId('fakeparam', null, null, null, null, (data, error) => {
|
|
49004
|
+
try {
|
|
49005
|
+
const displayE = 'id is required';
|
|
49006
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudServicesId', displayE);
|
|
49007
|
+
done();
|
|
49008
|
+
} catch (err) {
|
|
49009
|
+
log.error(`Test Failure: ${err}`);
|
|
49010
|
+
done(err);
|
|
49011
|
+
}
|
|
49012
|
+
});
|
|
49013
|
+
} catch (error) {
|
|
49014
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49015
|
+
done(error);
|
|
49016
|
+
}
|
|
49017
|
+
}).timeout(attemptTimeout);
|
|
49018
|
+
});
|
|
49019
|
+
|
|
49020
|
+
describe('#putCloudCloudServicesId - errors', () => {
|
|
49021
|
+
it('should have a putCloudCloudServicesId function', (done) => {
|
|
49022
|
+
try {
|
|
49023
|
+
assert.equal(true, typeof a.putCloudCloudServicesId === 'function');
|
|
49024
|
+
done();
|
|
49025
|
+
} catch (error) {
|
|
49026
|
+
log.error(`Test Failure: ${error}`);
|
|
49027
|
+
done(error);
|
|
49028
|
+
}
|
|
49029
|
+
}).timeout(attemptTimeout);
|
|
49030
|
+
it('should error if - missing id', (done) => {
|
|
49031
|
+
try {
|
|
49032
|
+
a.putCloudCloudServicesId('fakeparam', null, null, null, (data, error) => {
|
|
49033
|
+
try {
|
|
49034
|
+
const displayE = 'id is required';
|
|
49035
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudServicesId', displayE);
|
|
49036
|
+
done();
|
|
49037
|
+
} catch (err) {
|
|
49038
|
+
log.error(`Test Failure: ${err}`);
|
|
49039
|
+
done(err);
|
|
49040
|
+
}
|
|
49041
|
+
});
|
|
49042
|
+
} catch (error) {
|
|
49043
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49044
|
+
done(error);
|
|
49045
|
+
}
|
|
49046
|
+
}).timeout(attemptTimeout);
|
|
49047
|
+
it('should error if - missing body', (done) => {
|
|
49048
|
+
try {
|
|
49049
|
+
a.putCloudCloudServicesId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
49050
|
+
try {
|
|
49051
|
+
const displayE = 'body is required';
|
|
49052
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putCloudCloudServicesId', displayE);
|
|
49053
|
+
done();
|
|
49054
|
+
} catch (err) {
|
|
49055
|
+
log.error(`Test Failure: ${err}`);
|
|
49056
|
+
done(err);
|
|
49057
|
+
}
|
|
49058
|
+
});
|
|
49059
|
+
} catch (error) {
|
|
49060
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49061
|
+
done(error);
|
|
49062
|
+
}
|
|
49063
|
+
}).timeout(attemptTimeout);
|
|
49064
|
+
});
|
|
49065
|
+
|
|
49066
|
+
describe('#patchCloudCloudServicesId - errors', () => {
|
|
49067
|
+
it('should have a patchCloudCloudServicesId function', (done) => {
|
|
49068
|
+
try {
|
|
49069
|
+
assert.equal(true, typeof a.patchCloudCloudServicesId === 'function');
|
|
49070
|
+
done();
|
|
49071
|
+
} catch (error) {
|
|
49072
|
+
log.error(`Test Failure: ${error}`);
|
|
49073
|
+
done(error);
|
|
49074
|
+
}
|
|
49075
|
+
}).timeout(attemptTimeout);
|
|
49076
|
+
it('should error if - missing id', (done) => {
|
|
49077
|
+
try {
|
|
49078
|
+
a.patchCloudCloudServicesId('fakeparam', null, null, null, (data, error) => {
|
|
49079
|
+
try {
|
|
49080
|
+
const displayE = 'id is required';
|
|
49081
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchCloudCloudServicesId', displayE);
|
|
49082
|
+
done();
|
|
49083
|
+
} catch (err) {
|
|
49084
|
+
log.error(`Test Failure: ${err}`);
|
|
49085
|
+
done(err);
|
|
49086
|
+
}
|
|
49087
|
+
});
|
|
49088
|
+
} catch (error) {
|
|
49089
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49090
|
+
done(error);
|
|
49091
|
+
}
|
|
49092
|
+
}).timeout(attemptTimeout);
|
|
49093
|
+
});
|
|
49094
|
+
|
|
49095
|
+
describe('#deleteCloudCloudServicesId - errors', () => {
|
|
49096
|
+
it('should have a deleteCloudCloudServicesId function', (done) => {
|
|
49097
|
+
try {
|
|
49098
|
+
assert.equal(true, typeof a.deleteCloudCloudServicesId === 'function');
|
|
49099
|
+
done();
|
|
49100
|
+
} catch (error) {
|
|
49101
|
+
log.error(`Test Failure: ${error}`);
|
|
49102
|
+
done(error);
|
|
49103
|
+
}
|
|
49104
|
+
}).timeout(attemptTimeout);
|
|
49105
|
+
it('should error if - missing id', (done) => {
|
|
49106
|
+
try {
|
|
49107
|
+
a.deleteCloudCloudServicesId('fakeparam', null, null, (data, error) => {
|
|
49108
|
+
try {
|
|
49109
|
+
const displayE = 'id is required';
|
|
49110
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteCloudCloudServicesId', displayE);
|
|
49111
|
+
done();
|
|
49112
|
+
} catch (err) {
|
|
49113
|
+
log.error(`Test Failure: ${err}`);
|
|
49114
|
+
done(err);
|
|
49115
|
+
}
|
|
49116
|
+
});
|
|
49117
|
+
} catch (error) {
|
|
49118
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49119
|
+
done(error);
|
|
49120
|
+
}
|
|
49121
|
+
}).timeout(attemptTimeout);
|
|
49122
|
+
});
|
|
49123
|
+
|
|
49124
|
+
describe('#getCloudCloudServicesIdNotes - errors', () => {
|
|
49125
|
+
it('should have a getCloudCloudServicesIdNotes function', (done) => {
|
|
49126
|
+
try {
|
|
49127
|
+
assert.equal(true, typeof a.getCloudCloudServicesIdNotes === 'function');
|
|
49128
|
+
done();
|
|
49129
|
+
} catch (error) {
|
|
49130
|
+
log.error(`Test Failure: ${error}`);
|
|
49131
|
+
done(error);
|
|
49132
|
+
}
|
|
49133
|
+
}).timeout(attemptTimeout);
|
|
49134
|
+
it('should error if - missing id', (done) => {
|
|
49135
|
+
try {
|
|
49136
|
+
a.getCloudCloudServicesIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
49137
|
+
try {
|
|
49138
|
+
const displayE = 'id is required';
|
|
49139
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getCloudCloudServicesIdNotes', displayE);
|
|
49140
|
+
done();
|
|
49141
|
+
} catch (err) {
|
|
49142
|
+
log.error(`Test Failure: ${err}`);
|
|
49143
|
+
done(err);
|
|
49144
|
+
}
|
|
49145
|
+
});
|
|
49146
|
+
} catch (error) {
|
|
49147
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49148
|
+
done(error);
|
|
49149
|
+
}
|
|
49150
|
+
}).timeout(attemptTimeout);
|
|
49151
|
+
});
|
|
49152
|
+
|
|
49153
|
+
describe('#postCloudCloudServicesIdNotes - errors', () => {
|
|
49154
|
+
it('should have a postCloudCloudServicesIdNotes function', (done) => {
|
|
49155
|
+
try {
|
|
49156
|
+
assert.equal(true, typeof a.postCloudCloudServicesIdNotes === 'function');
|
|
49157
|
+
done();
|
|
49158
|
+
} catch (error) {
|
|
49159
|
+
log.error(`Test Failure: ${error}`);
|
|
49160
|
+
done(error);
|
|
49161
|
+
}
|
|
49162
|
+
}).timeout(attemptTimeout);
|
|
49163
|
+
it('should error if - missing id', (done) => {
|
|
49164
|
+
try {
|
|
49165
|
+
a.postCloudCloudServicesIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
49166
|
+
try {
|
|
49167
|
+
const displayE = 'id is required';
|
|
49168
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudServicesIdNotes', displayE);
|
|
49169
|
+
done();
|
|
49170
|
+
} catch (err) {
|
|
49171
|
+
log.error(`Test Failure: ${err}`);
|
|
49172
|
+
done(err);
|
|
49173
|
+
}
|
|
49174
|
+
});
|
|
49175
|
+
} catch (error) {
|
|
49176
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49177
|
+
done(error);
|
|
49178
|
+
}
|
|
49179
|
+
}).timeout(attemptTimeout);
|
|
49180
|
+
it('should error if - missing body', (done) => {
|
|
49181
|
+
try {
|
|
49182
|
+
a.postCloudCloudServicesIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
49183
|
+
try {
|
|
49184
|
+
const displayE = 'body is required';
|
|
49185
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCloudCloudServicesIdNotes', displayE);
|
|
49186
|
+
done();
|
|
49187
|
+
} catch (err) {
|
|
49188
|
+
log.error(`Test Failure: ${err}`);
|
|
49189
|
+
done(err);
|
|
49190
|
+
}
|
|
49191
|
+
});
|
|
49192
|
+
} catch (error) {
|
|
49193
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49194
|
+
done(error);
|
|
49195
|
+
}
|
|
49196
|
+
}).timeout(attemptTimeout);
|
|
49197
|
+
});
|
|
49198
|
+
|
|
49199
|
+
describe('#postCoreRenderJinjaTemplate - errors', () => {
|
|
49200
|
+
it('should have a postCoreRenderJinjaTemplate function', (done) => {
|
|
49201
|
+
try {
|
|
49202
|
+
assert.equal(true, typeof a.postCoreRenderJinjaTemplate === 'function');
|
|
49203
|
+
done();
|
|
49204
|
+
} catch (error) {
|
|
49205
|
+
log.error(`Test Failure: ${error}`);
|
|
49206
|
+
done(error);
|
|
49207
|
+
}
|
|
49208
|
+
}).timeout(attemptTimeout);
|
|
49209
|
+
it('should error if - missing body', (done) => {
|
|
49210
|
+
try {
|
|
49211
|
+
a.postCoreRenderJinjaTemplate('fakeparam', null, null, (data, error) => {
|
|
49212
|
+
try {
|
|
49213
|
+
const displayE = 'body is required';
|
|
49214
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postCoreRenderJinjaTemplate', displayE);
|
|
49215
|
+
done();
|
|
49216
|
+
} catch (err) {
|
|
49217
|
+
log.error(`Test Failure: ${err}`);
|
|
49218
|
+
done(err);
|
|
49219
|
+
}
|
|
49220
|
+
});
|
|
49221
|
+
} catch (error) {
|
|
49222
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49223
|
+
done(error);
|
|
49224
|
+
}
|
|
49225
|
+
}).timeout(attemptTimeout);
|
|
49226
|
+
});
|
|
49227
|
+
|
|
49228
|
+
describe('#postUiCoreRenderJinjaTemplate - errors', () => {
|
|
49229
|
+
it('should have a postUiCoreRenderJinjaTemplate function', (done) => {
|
|
49230
|
+
try {
|
|
49231
|
+
assert.equal(true, typeof a.postUiCoreRenderJinjaTemplate === 'function');
|
|
49232
|
+
done();
|
|
49233
|
+
} catch (error) {
|
|
49234
|
+
log.error(`Test Failure: ${error}`);
|
|
49235
|
+
done(error);
|
|
49236
|
+
}
|
|
49237
|
+
}).timeout(attemptTimeout);
|
|
49238
|
+
it('should error if - missing body', (done) => {
|
|
49239
|
+
try {
|
|
49240
|
+
a.postUiCoreRenderJinjaTemplate('fakeparam', null, null, (data, error) => {
|
|
49241
|
+
try {
|
|
49242
|
+
const displayE = 'body is required';
|
|
49243
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postUiCoreRenderJinjaTemplate', displayE);
|
|
49244
|
+
done();
|
|
49245
|
+
} catch (err) {
|
|
49246
|
+
log.error(`Test Failure: ${err}`);
|
|
49247
|
+
done(err);
|
|
49248
|
+
}
|
|
49249
|
+
});
|
|
49250
|
+
} catch (error) {
|
|
49251
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49252
|
+
done(error);
|
|
49253
|
+
}
|
|
49254
|
+
}).timeout(attemptTimeout);
|
|
49255
|
+
});
|
|
49256
|
+
|
|
49257
|
+
describe('#getWirelessControllerManagedDeviceGroupRadioProfileAssignments - errors', () => {
|
|
49258
|
+
it('should have a getWirelessControllerManagedDeviceGroupRadioProfileAssignments function', (done) => {
|
|
49259
|
+
try {
|
|
49260
|
+
assert.equal(true, typeof a.getWirelessControllerManagedDeviceGroupRadioProfileAssignments === 'function');
|
|
49261
|
+
done();
|
|
49262
|
+
} catch (error) {
|
|
49263
|
+
log.error(`Test Failure: ${error}`);
|
|
49264
|
+
done(error);
|
|
49265
|
+
}
|
|
49266
|
+
}).timeout(attemptTimeout);
|
|
49267
|
+
});
|
|
49268
|
+
|
|
49269
|
+
describe('#postWirelessControllerManagedDeviceGroupRadioProfileAssignments - errors', () => {
|
|
49270
|
+
it('should have a postWirelessControllerManagedDeviceGroupRadioProfileAssignments function', (done) => {
|
|
49271
|
+
try {
|
|
49272
|
+
assert.equal(true, typeof a.postWirelessControllerManagedDeviceGroupRadioProfileAssignments === 'function');
|
|
49273
|
+
done();
|
|
49274
|
+
} catch (error) {
|
|
49275
|
+
log.error(`Test Failure: ${error}`);
|
|
49276
|
+
done(error);
|
|
49277
|
+
}
|
|
49278
|
+
}).timeout(attemptTimeout);
|
|
49279
|
+
it('should error if - missing body', (done) => {
|
|
49280
|
+
try {
|
|
49281
|
+
a.postWirelessControllerManagedDeviceGroupRadioProfileAssignments('fakeparam', null, null, (data, error) => {
|
|
49282
|
+
try {
|
|
49283
|
+
const displayE = 'body is required';
|
|
49284
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessControllerManagedDeviceGroupRadioProfileAssignments', displayE);
|
|
49285
|
+
done();
|
|
49286
|
+
} catch (err) {
|
|
49287
|
+
log.error(`Test Failure: ${err}`);
|
|
49288
|
+
done(err);
|
|
49289
|
+
}
|
|
49290
|
+
});
|
|
49291
|
+
} catch (error) {
|
|
49292
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49293
|
+
done(error);
|
|
49294
|
+
}
|
|
49295
|
+
}).timeout(attemptTimeout);
|
|
49296
|
+
});
|
|
49297
|
+
|
|
49298
|
+
describe('#putWirelessControllerManagedDeviceGroupRadioProfileAssignments - errors', () => {
|
|
49299
|
+
it('should have a putWirelessControllerManagedDeviceGroupRadioProfileAssignments function', (done) => {
|
|
49300
|
+
try {
|
|
49301
|
+
assert.equal(true, typeof a.putWirelessControllerManagedDeviceGroupRadioProfileAssignments === 'function');
|
|
49302
|
+
done();
|
|
49303
|
+
} catch (error) {
|
|
49304
|
+
log.error(`Test Failure: ${error}`);
|
|
49305
|
+
done(error);
|
|
49306
|
+
}
|
|
49307
|
+
}).timeout(attemptTimeout);
|
|
49308
|
+
it('should error if - missing body', (done) => {
|
|
49309
|
+
try {
|
|
49310
|
+
a.putWirelessControllerManagedDeviceGroupRadioProfileAssignments('fakeparam', null, null, (data, error) => {
|
|
49311
|
+
try {
|
|
49312
|
+
const displayE = 'body is required';
|
|
49313
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessControllerManagedDeviceGroupRadioProfileAssignments', displayE);
|
|
49314
|
+
done();
|
|
49315
|
+
} catch (err) {
|
|
49316
|
+
log.error(`Test Failure: ${err}`);
|
|
49317
|
+
done(err);
|
|
49318
|
+
}
|
|
49319
|
+
});
|
|
49320
|
+
} catch (error) {
|
|
49321
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49322
|
+
done(error);
|
|
49323
|
+
}
|
|
49324
|
+
}).timeout(attemptTimeout);
|
|
49325
|
+
});
|
|
49326
|
+
|
|
49327
|
+
describe('#patchWirelessControllerManagedDeviceGroupRadioProfileAssignments - errors', () => {
|
|
49328
|
+
it('should have a patchWirelessControllerManagedDeviceGroupRadioProfileAssignments function', (done) => {
|
|
49329
|
+
try {
|
|
49330
|
+
assert.equal(true, typeof a.patchWirelessControllerManagedDeviceGroupRadioProfileAssignments === 'function');
|
|
49331
|
+
done();
|
|
49332
|
+
} catch (error) {
|
|
49333
|
+
log.error(`Test Failure: ${error}`);
|
|
49334
|
+
done(error);
|
|
49335
|
+
}
|
|
49336
|
+
}).timeout(attemptTimeout);
|
|
49337
|
+
it('should error if - missing body', (done) => {
|
|
49338
|
+
try {
|
|
49339
|
+
a.patchWirelessControllerManagedDeviceGroupRadioProfileAssignments('fakeparam', null, null, (data, error) => {
|
|
49340
|
+
try {
|
|
49341
|
+
const displayE = 'body is required';
|
|
49342
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessControllerManagedDeviceGroupRadioProfileAssignments', displayE);
|
|
49343
|
+
done();
|
|
49344
|
+
} catch (err) {
|
|
49345
|
+
log.error(`Test Failure: ${err}`);
|
|
49346
|
+
done(err);
|
|
49347
|
+
}
|
|
49348
|
+
});
|
|
49349
|
+
} catch (error) {
|
|
49350
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49351
|
+
done(error);
|
|
49352
|
+
}
|
|
49353
|
+
}).timeout(attemptTimeout);
|
|
49354
|
+
});
|
|
49355
|
+
|
|
49356
|
+
describe('#deleteWirelessControllerManagedDeviceGroupRadioProfileAssignments - errors', () => {
|
|
49357
|
+
it('should have a deleteWirelessControllerManagedDeviceGroupRadioProfileAssignments function', (done) => {
|
|
49358
|
+
try {
|
|
49359
|
+
assert.equal(true, typeof a.deleteWirelessControllerManagedDeviceGroupRadioProfileAssignments === 'function');
|
|
49360
|
+
done();
|
|
49361
|
+
} catch (error) {
|
|
49362
|
+
log.error(`Test Failure: ${error}`);
|
|
49363
|
+
done(error);
|
|
49364
|
+
}
|
|
49365
|
+
}).timeout(attemptTimeout);
|
|
49366
|
+
it('should error if - missing body', (done) => {
|
|
49367
|
+
try {
|
|
49368
|
+
a.deleteWirelessControllerManagedDeviceGroupRadioProfileAssignments('fakeparam', null, null, (data, error) => {
|
|
49369
|
+
try {
|
|
49370
|
+
const displayE = 'body is required';
|
|
49371
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessControllerManagedDeviceGroupRadioProfileAssignments', displayE);
|
|
49372
|
+
done();
|
|
49373
|
+
} catch (err) {
|
|
49374
|
+
log.error(`Test Failure: ${err}`);
|
|
49375
|
+
done(err);
|
|
49376
|
+
}
|
|
49377
|
+
});
|
|
49378
|
+
} catch (error) {
|
|
49379
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49380
|
+
done(error);
|
|
49381
|
+
}
|
|
49382
|
+
}).timeout(attemptTimeout);
|
|
49383
|
+
});
|
|
49384
|
+
|
|
49385
|
+
describe('#getWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId - errors', () => {
|
|
49386
|
+
it('should have a getWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId function', (done) => {
|
|
49387
|
+
try {
|
|
49388
|
+
assert.equal(true, typeof a.getWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId === 'function');
|
|
49389
|
+
done();
|
|
49390
|
+
} catch (error) {
|
|
49391
|
+
log.error(`Test Failure: ${error}`);
|
|
49392
|
+
done(error);
|
|
49393
|
+
}
|
|
49394
|
+
}).timeout(attemptTimeout);
|
|
49395
|
+
it('should error if - missing id', (done) => {
|
|
49396
|
+
try {
|
|
49397
|
+
a.getWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId('fakeparam', null, null, null, null, (data, error) => {
|
|
49398
|
+
try {
|
|
49399
|
+
const displayE = 'id is required';
|
|
49400
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId', displayE);
|
|
49401
|
+
done();
|
|
49402
|
+
} catch (err) {
|
|
49403
|
+
log.error(`Test Failure: ${err}`);
|
|
49404
|
+
done(err);
|
|
49405
|
+
}
|
|
49406
|
+
});
|
|
49407
|
+
} catch (error) {
|
|
49408
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49409
|
+
done(error);
|
|
49410
|
+
}
|
|
49411
|
+
}).timeout(attemptTimeout);
|
|
49412
|
+
});
|
|
49413
|
+
|
|
49414
|
+
describe('#putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId - errors', () => {
|
|
49415
|
+
it('should have a putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId function', (done) => {
|
|
49416
|
+
try {
|
|
49417
|
+
assert.equal(true, typeof a.putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId === 'function');
|
|
49418
|
+
done();
|
|
49419
|
+
} catch (error) {
|
|
49420
|
+
log.error(`Test Failure: ${error}`);
|
|
49421
|
+
done(error);
|
|
49422
|
+
}
|
|
49423
|
+
}).timeout(attemptTimeout);
|
|
49424
|
+
it('should error if - missing id', (done) => {
|
|
49425
|
+
try {
|
|
49426
|
+
a.putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
49427
|
+
try {
|
|
49428
|
+
const displayE = 'id is required';
|
|
49429
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId', displayE);
|
|
49430
|
+
done();
|
|
49431
|
+
} catch (err) {
|
|
49432
|
+
log.error(`Test Failure: ${err}`);
|
|
49433
|
+
done(err);
|
|
49434
|
+
}
|
|
49435
|
+
});
|
|
49436
|
+
} catch (error) {
|
|
49437
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49438
|
+
done(error);
|
|
49439
|
+
}
|
|
49440
|
+
}).timeout(attemptTimeout);
|
|
49441
|
+
it('should error if - missing body', (done) => {
|
|
49442
|
+
try {
|
|
49443
|
+
a.putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
49444
|
+
try {
|
|
49445
|
+
const displayE = 'body is required';
|
|
49446
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId', displayE);
|
|
49447
|
+
done();
|
|
49448
|
+
} catch (err) {
|
|
49449
|
+
log.error(`Test Failure: ${err}`);
|
|
49450
|
+
done(err);
|
|
49451
|
+
}
|
|
49452
|
+
});
|
|
49453
|
+
} catch (error) {
|
|
49454
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49455
|
+
done(error);
|
|
49456
|
+
}
|
|
49457
|
+
}).timeout(attemptTimeout);
|
|
49458
|
+
});
|
|
49459
|
+
|
|
49460
|
+
describe('#patchWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId - errors', () => {
|
|
49461
|
+
it('should have a patchWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId function', (done) => {
|
|
49462
|
+
try {
|
|
49463
|
+
assert.equal(true, typeof a.patchWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId === 'function');
|
|
49464
|
+
done();
|
|
49465
|
+
} catch (error) {
|
|
49466
|
+
log.error(`Test Failure: ${error}`);
|
|
49467
|
+
done(error);
|
|
49468
|
+
}
|
|
49469
|
+
}).timeout(attemptTimeout);
|
|
49470
|
+
it('should error if - missing id', (done) => {
|
|
49471
|
+
try {
|
|
49472
|
+
a.patchWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
49473
|
+
try {
|
|
49474
|
+
const displayE = 'id is required';
|
|
49475
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId', displayE);
|
|
49476
|
+
done();
|
|
49477
|
+
} catch (err) {
|
|
49478
|
+
log.error(`Test Failure: ${err}`);
|
|
49479
|
+
done(err);
|
|
49480
|
+
}
|
|
49481
|
+
});
|
|
49482
|
+
} catch (error) {
|
|
49483
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49484
|
+
done(error);
|
|
49485
|
+
}
|
|
49486
|
+
}).timeout(attemptTimeout);
|
|
49487
|
+
});
|
|
49488
|
+
|
|
49489
|
+
describe('#deleteWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId - errors', () => {
|
|
49490
|
+
it('should have a deleteWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId function', (done) => {
|
|
49491
|
+
try {
|
|
49492
|
+
assert.equal(true, typeof a.deleteWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId === 'function');
|
|
49493
|
+
done();
|
|
49494
|
+
} catch (error) {
|
|
49495
|
+
log.error(`Test Failure: ${error}`);
|
|
49496
|
+
done(error);
|
|
49497
|
+
}
|
|
49498
|
+
}).timeout(attemptTimeout);
|
|
49499
|
+
it('should error if - missing id', (done) => {
|
|
49500
|
+
try {
|
|
49501
|
+
a.deleteWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId('fakeparam', null, null, (data, error) => {
|
|
49502
|
+
try {
|
|
49503
|
+
const displayE = 'id is required';
|
|
49504
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessControllerManagedDeviceGroupRadioProfileAssignmentsId', displayE);
|
|
49505
|
+
done();
|
|
49506
|
+
} catch (err) {
|
|
49507
|
+
log.error(`Test Failure: ${err}`);
|
|
49508
|
+
done(err);
|
|
49509
|
+
}
|
|
49510
|
+
});
|
|
49511
|
+
} catch (error) {
|
|
49512
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49513
|
+
done(error);
|
|
49514
|
+
}
|
|
49515
|
+
}).timeout(attemptTimeout);
|
|
49516
|
+
});
|
|
49517
|
+
|
|
49518
|
+
describe('#getWirelessControllerManagedDeviceGroupWirelessNetworkAssignments - errors', () => {
|
|
49519
|
+
it('should have a getWirelessControllerManagedDeviceGroupWirelessNetworkAssignments function', (done) => {
|
|
49520
|
+
try {
|
|
49521
|
+
assert.equal(true, typeof a.getWirelessControllerManagedDeviceGroupWirelessNetworkAssignments === 'function');
|
|
49522
|
+
done();
|
|
49523
|
+
} catch (error) {
|
|
49524
|
+
log.error(`Test Failure: ${error}`);
|
|
49525
|
+
done(error);
|
|
49526
|
+
}
|
|
49527
|
+
}).timeout(attemptTimeout);
|
|
49528
|
+
});
|
|
49529
|
+
|
|
49530
|
+
describe('#postWirelessControllerManagedDeviceGroupWirelessNetworkAssignments - errors', () => {
|
|
49531
|
+
it('should have a postWirelessControllerManagedDeviceGroupWirelessNetworkAssignments function', (done) => {
|
|
49532
|
+
try {
|
|
49533
|
+
assert.equal(true, typeof a.postWirelessControllerManagedDeviceGroupWirelessNetworkAssignments === 'function');
|
|
49534
|
+
done();
|
|
49535
|
+
} catch (error) {
|
|
49536
|
+
log.error(`Test Failure: ${error}`);
|
|
49537
|
+
done(error);
|
|
49538
|
+
}
|
|
49539
|
+
}).timeout(attemptTimeout);
|
|
49540
|
+
it('should error if - missing body', (done) => {
|
|
49541
|
+
try {
|
|
49542
|
+
a.postWirelessControllerManagedDeviceGroupWirelessNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
49543
|
+
try {
|
|
49544
|
+
const displayE = 'body is required';
|
|
49545
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessControllerManagedDeviceGroupWirelessNetworkAssignments', displayE);
|
|
49546
|
+
done();
|
|
49547
|
+
} catch (err) {
|
|
49548
|
+
log.error(`Test Failure: ${err}`);
|
|
49549
|
+
done(err);
|
|
49550
|
+
}
|
|
49551
|
+
});
|
|
49552
|
+
} catch (error) {
|
|
49553
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49554
|
+
done(error);
|
|
49555
|
+
}
|
|
49556
|
+
}).timeout(attemptTimeout);
|
|
49557
|
+
});
|
|
49558
|
+
|
|
49559
|
+
describe('#putWirelessControllerManagedDeviceGroupWirelessNetworkAssignments - errors', () => {
|
|
49560
|
+
it('should have a putWirelessControllerManagedDeviceGroupWirelessNetworkAssignments function', (done) => {
|
|
49561
|
+
try {
|
|
49562
|
+
assert.equal(true, typeof a.putWirelessControllerManagedDeviceGroupWirelessNetworkAssignments === 'function');
|
|
49563
|
+
done();
|
|
49564
|
+
} catch (error) {
|
|
49565
|
+
log.error(`Test Failure: ${error}`);
|
|
49566
|
+
done(error);
|
|
49567
|
+
}
|
|
49568
|
+
}).timeout(attemptTimeout);
|
|
49569
|
+
it('should error if - missing body', (done) => {
|
|
49570
|
+
try {
|
|
49571
|
+
a.putWirelessControllerManagedDeviceGroupWirelessNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
49572
|
+
try {
|
|
49573
|
+
const displayE = 'body is required';
|
|
49574
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessControllerManagedDeviceGroupWirelessNetworkAssignments', displayE);
|
|
49575
|
+
done();
|
|
49576
|
+
} catch (err) {
|
|
49577
|
+
log.error(`Test Failure: ${err}`);
|
|
49578
|
+
done(err);
|
|
49579
|
+
}
|
|
49580
|
+
});
|
|
49581
|
+
} catch (error) {
|
|
49582
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49583
|
+
done(error);
|
|
49584
|
+
}
|
|
49585
|
+
}).timeout(attemptTimeout);
|
|
49586
|
+
});
|
|
49587
|
+
|
|
49588
|
+
describe('#patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignments - errors', () => {
|
|
49589
|
+
it('should have a patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignments function', (done) => {
|
|
49590
|
+
try {
|
|
49591
|
+
assert.equal(true, typeof a.patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignments === 'function');
|
|
49592
|
+
done();
|
|
49593
|
+
} catch (error) {
|
|
49594
|
+
log.error(`Test Failure: ${error}`);
|
|
49595
|
+
done(error);
|
|
49596
|
+
}
|
|
49597
|
+
}).timeout(attemptTimeout);
|
|
49598
|
+
it('should error if - missing body', (done) => {
|
|
49599
|
+
try {
|
|
49600
|
+
a.patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
49601
|
+
try {
|
|
49602
|
+
const displayE = 'body is required';
|
|
49603
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignments', displayE);
|
|
49604
|
+
done();
|
|
49605
|
+
} catch (err) {
|
|
49606
|
+
log.error(`Test Failure: ${err}`);
|
|
49607
|
+
done(err);
|
|
49608
|
+
}
|
|
49609
|
+
});
|
|
49610
|
+
} catch (error) {
|
|
49611
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49612
|
+
done(error);
|
|
49613
|
+
}
|
|
49614
|
+
}).timeout(attemptTimeout);
|
|
49615
|
+
});
|
|
49616
|
+
|
|
49617
|
+
describe('#deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignments - errors', () => {
|
|
49618
|
+
it('should have a deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignments function', (done) => {
|
|
49619
|
+
try {
|
|
49620
|
+
assert.equal(true, typeof a.deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignments === 'function');
|
|
49621
|
+
done();
|
|
49622
|
+
} catch (error) {
|
|
49623
|
+
log.error(`Test Failure: ${error}`);
|
|
49624
|
+
done(error);
|
|
49625
|
+
}
|
|
49626
|
+
}).timeout(attemptTimeout);
|
|
49627
|
+
it('should error if - missing body', (done) => {
|
|
49628
|
+
try {
|
|
49629
|
+
a.deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignments('fakeparam', null, null, (data, error) => {
|
|
49630
|
+
try {
|
|
49631
|
+
const displayE = 'body is required';
|
|
49632
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignments', displayE);
|
|
49633
|
+
done();
|
|
49634
|
+
} catch (err) {
|
|
49635
|
+
log.error(`Test Failure: ${err}`);
|
|
49636
|
+
done(err);
|
|
49637
|
+
}
|
|
49638
|
+
});
|
|
49639
|
+
} catch (error) {
|
|
49640
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49641
|
+
done(error);
|
|
49642
|
+
}
|
|
49643
|
+
}).timeout(attemptTimeout);
|
|
49644
|
+
});
|
|
49645
|
+
|
|
49646
|
+
describe('#getWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId - errors', () => {
|
|
49647
|
+
it('should have a getWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId function', (done) => {
|
|
49648
|
+
try {
|
|
49649
|
+
assert.equal(true, typeof a.getWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId === 'function');
|
|
49650
|
+
done();
|
|
49651
|
+
} catch (error) {
|
|
49652
|
+
log.error(`Test Failure: ${error}`);
|
|
49653
|
+
done(error);
|
|
49654
|
+
}
|
|
49655
|
+
}).timeout(attemptTimeout);
|
|
49656
|
+
it('should error if - missing id', (done) => {
|
|
49657
|
+
try {
|
|
49658
|
+
a.getWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId('fakeparam', null, null, null, null, (data, error) => {
|
|
49659
|
+
try {
|
|
49660
|
+
const displayE = 'id is required';
|
|
49661
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId', displayE);
|
|
49662
|
+
done();
|
|
49663
|
+
} catch (err) {
|
|
49664
|
+
log.error(`Test Failure: ${err}`);
|
|
49665
|
+
done(err);
|
|
49666
|
+
}
|
|
49667
|
+
});
|
|
49668
|
+
} catch (error) {
|
|
49669
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49670
|
+
done(error);
|
|
49671
|
+
}
|
|
49672
|
+
}).timeout(attemptTimeout);
|
|
49673
|
+
});
|
|
49674
|
+
|
|
49675
|
+
describe('#putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId - errors', () => {
|
|
49676
|
+
it('should have a putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId function', (done) => {
|
|
49677
|
+
try {
|
|
49678
|
+
assert.equal(true, typeof a.putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId === 'function');
|
|
49679
|
+
done();
|
|
49680
|
+
} catch (error) {
|
|
49681
|
+
log.error(`Test Failure: ${error}`);
|
|
49682
|
+
done(error);
|
|
49683
|
+
}
|
|
49684
|
+
}).timeout(attemptTimeout);
|
|
49685
|
+
it('should error if - missing id', (done) => {
|
|
49686
|
+
try {
|
|
49687
|
+
a.putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
49688
|
+
try {
|
|
49689
|
+
const displayE = 'id is required';
|
|
49690
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId', displayE);
|
|
49691
|
+
done();
|
|
49692
|
+
} catch (err) {
|
|
49693
|
+
log.error(`Test Failure: ${err}`);
|
|
49694
|
+
done(err);
|
|
49695
|
+
}
|
|
49696
|
+
});
|
|
49697
|
+
} catch (error) {
|
|
49698
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49699
|
+
done(error);
|
|
49700
|
+
}
|
|
49701
|
+
}).timeout(attemptTimeout);
|
|
49702
|
+
it('should error if - missing body', (done) => {
|
|
49703
|
+
try {
|
|
49704
|
+
a.putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
49705
|
+
try {
|
|
49706
|
+
const displayE = 'body is required';
|
|
49707
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId', displayE);
|
|
49708
|
+
done();
|
|
49709
|
+
} catch (err) {
|
|
49710
|
+
log.error(`Test Failure: ${err}`);
|
|
49711
|
+
done(err);
|
|
49712
|
+
}
|
|
49713
|
+
});
|
|
49714
|
+
} catch (error) {
|
|
49715
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49716
|
+
done(error);
|
|
49717
|
+
}
|
|
49718
|
+
}).timeout(attemptTimeout);
|
|
49719
|
+
});
|
|
49720
|
+
|
|
49721
|
+
describe('#patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId - errors', () => {
|
|
49722
|
+
it('should have a patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId function', (done) => {
|
|
49723
|
+
try {
|
|
49724
|
+
assert.equal(true, typeof a.patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId === 'function');
|
|
49725
|
+
done();
|
|
49726
|
+
} catch (error) {
|
|
49727
|
+
log.error(`Test Failure: ${error}`);
|
|
49728
|
+
done(error);
|
|
49729
|
+
}
|
|
49730
|
+
}).timeout(attemptTimeout);
|
|
49731
|
+
it('should error if - missing id', (done) => {
|
|
49732
|
+
try {
|
|
49733
|
+
a.patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId('fakeparam', null, null, null, (data, error) => {
|
|
49734
|
+
try {
|
|
49735
|
+
const displayE = 'id is required';
|
|
49736
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId', displayE);
|
|
49737
|
+
done();
|
|
49738
|
+
} catch (err) {
|
|
49739
|
+
log.error(`Test Failure: ${err}`);
|
|
49740
|
+
done(err);
|
|
49741
|
+
}
|
|
49742
|
+
});
|
|
49743
|
+
} catch (error) {
|
|
49744
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49745
|
+
done(error);
|
|
49746
|
+
}
|
|
49747
|
+
}).timeout(attemptTimeout);
|
|
49748
|
+
});
|
|
49749
|
+
|
|
49750
|
+
describe('#deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId - errors', () => {
|
|
49751
|
+
it('should have a deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId function', (done) => {
|
|
49752
|
+
try {
|
|
49753
|
+
assert.equal(true, typeof a.deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId === 'function');
|
|
49754
|
+
done();
|
|
49755
|
+
} catch (error) {
|
|
49756
|
+
log.error(`Test Failure: ${error}`);
|
|
49757
|
+
done(error);
|
|
49758
|
+
}
|
|
49759
|
+
}).timeout(attemptTimeout);
|
|
49760
|
+
it('should error if - missing id', (done) => {
|
|
49761
|
+
try {
|
|
49762
|
+
a.deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId('fakeparam', null, null, (data, error) => {
|
|
49763
|
+
try {
|
|
49764
|
+
const displayE = 'id is required';
|
|
49765
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsId', displayE);
|
|
49766
|
+
done();
|
|
49767
|
+
} catch (err) {
|
|
49768
|
+
log.error(`Test Failure: ${err}`);
|
|
49769
|
+
done(err);
|
|
49770
|
+
}
|
|
49771
|
+
});
|
|
49772
|
+
} catch (error) {
|
|
49773
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49774
|
+
done(error);
|
|
49775
|
+
}
|
|
49776
|
+
}).timeout(attemptTimeout);
|
|
49777
|
+
});
|
|
49778
|
+
|
|
49779
|
+
describe('#getWirelessRadioProfiles - errors', () => {
|
|
49780
|
+
it('should have a getWirelessRadioProfiles function', (done) => {
|
|
49781
|
+
try {
|
|
49782
|
+
assert.equal(true, typeof a.getWirelessRadioProfiles === 'function');
|
|
49783
|
+
done();
|
|
49784
|
+
} catch (error) {
|
|
49785
|
+
log.error(`Test Failure: ${error}`);
|
|
49786
|
+
done(error);
|
|
49787
|
+
}
|
|
49788
|
+
}).timeout(attemptTimeout);
|
|
49789
|
+
});
|
|
49790
|
+
|
|
49791
|
+
describe('#postWirelessRadioProfiles - errors', () => {
|
|
49792
|
+
it('should have a postWirelessRadioProfiles function', (done) => {
|
|
49793
|
+
try {
|
|
49794
|
+
assert.equal(true, typeof a.postWirelessRadioProfiles === 'function');
|
|
49795
|
+
done();
|
|
49796
|
+
} catch (error) {
|
|
49797
|
+
log.error(`Test Failure: ${error}`);
|
|
49798
|
+
done(error);
|
|
49799
|
+
}
|
|
49800
|
+
}).timeout(attemptTimeout);
|
|
49801
|
+
it('should error if - missing body', (done) => {
|
|
49802
|
+
try {
|
|
49803
|
+
a.postWirelessRadioProfiles('fakeparam', null, null, (data, error) => {
|
|
49804
|
+
try {
|
|
49805
|
+
const displayE = 'body is required';
|
|
49806
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessRadioProfiles', displayE);
|
|
49807
|
+
done();
|
|
49808
|
+
} catch (err) {
|
|
49809
|
+
log.error(`Test Failure: ${err}`);
|
|
49810
|
+
done(err);
|
|
49811
|
+
}
|
|
49812
|
+
});
|
|
49813
|
+
} catch (error) {
|
|
49814
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49815
|
+
done(error);
|
|
49816
|
+
}
|
|
49817
|
+
}).timeout(attemptTimeout);
|
|
49818
|
+
});
|
|
49819
|
+
|
|
49820
|
+
describe('#putWirelessRadioProfiles - errors', () => {
|
|
49821
|
+
it('should have a putWirelessRadioProfiles function', (done) => {
|
|
49822
|
+
try {
|
|
49823
|
+
assert.equal(true, typeof a.putWirelessRadioProfiles === 'function');
|
|
49824
|
+
done();
|
|
49825
|
+
} catch (error) {
|
|
49826
|
+
log.error(`Test Failure: ${error}`);
|
|
49827
|
+
done(error);
|
|
49828
|
+
}
|
|
49829
|
+
}).timeout(attemptTimeout);
|
|
49830
|
+
it('should error if - missing body', (done) => {
|
|
49831
|
+
try {
|
|
49832
|
+
a.putWirelessRadioProfiles('fakeparam', null, null, (data, error) => {
|
|
49833
|
+
try {
|
|
49834
|
+
const displayE = 'body is required';
|
|
49835
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessRadioProfiles', displayE);
|
|
49836
|
+
done();
|
|
49837
|
+
} catch (err) {
|
|
49838
|
+
log.error(`Test Failure: ${err}`);
|
|
49839
|
+
done(err);
|
|
49840
|
+
}
|
|
49841
|
+
});
|
|
49842
|
+
} catch (error) {
|
|
49843
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49844
|
+
done(error);
|
|
49845
|
+
}
|
|
49846
|
+
}).timeout(attemptTimeout);
|
|
49847
|
+
});
|
|
49848
|
+
|
|
49849
|
+
describe('#patchWirelessRadioProfiles - errors', () => {
|
|
49850
|
+
it('should have a patchWirelessRadioProfiles function', (done) => {
|
|
49851
|
+
try {
|
|
49852
|
+
assert.equal(true, typeof a.patchWirelessRadioProfiles === 'function');
|
|
49853
|
+
done();
|
|
49854
|
+
} catch (error) {
|
|
49855
|
+
log.error(`Test Failure: ${error}`);
|
|
49856
|
+
done(error);
|
|
49857
|
+
}
|
|
49858
|
+
}).timeout(attemptTimeout);
|
|
49859
|
+
it('should error if - missing body', (done) => {
|
|
49860
|
+
try {
|
|
49861
|
+
a.patchWirelessRadioProfiles('fakeparam', null, null, (data, error) => {
|
|
49862
|
+
try {
|
|
49863
|
+
const displayE = 'body is required';
|
|
49864
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessRadioProfiles', displayE);
|
|
49865
|
+
done();
|
|
49866
|
+
} catch (err) {
|
|
49867
|
+
log.error(`Test Failure: ${err}`);
|
|
49868
|
+
done(err);
|
|
49869
|
+
}
|
|
49870
|
+
});
|
|
49871
|
+
} catch (error) {
|
|
49872
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49873
|
+
done(error);
|
|
49874
|
+
}
|
|
49875
|
+
}).timeout(attemptTimeout);
|
|
49876
|
+
});
|
|
49877
|
+
|
|
49878
|
+
describe('#deleteWirelessRadioProfiles - errors', () => {
|
|
49879
|
+
it('should have a deleteWirelessRadioProfiles function', (done) => {
|
|
49880
|
+
try {
|
|
49881
|
+
assert.equal(true, typeof a.deleteWirelessRadioProfiles === 'function');
|
|
49882
|
+
done();
|
|
49883
|
+
} catch (error) {
|
|
49884
|
+
log.error(`Test Failure: ${error}`);
|
|
49885
|
+
done(error);
|
|
49886
|
+
}
|
|
49887
|
+
}).timeout(attemptTimeout);
|
|
49888
|
+
it('should error if - missing body', (done) => {
|
|
49889
|
+
try {
|
|
49890
|
+
a.deleteWirelessRadioProfiles('fakeparam', null, null, (data, error) => {
|
|
49891
|
+
try {
|
|
49892
|
+
const displayE = 'body is required';
|
|
49893
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessRadioProfiles', displayE);
|
|
49894
|
+
done();
|
|
49895
|
+
} catch (err) {
|
|
49896
|
+
log.error(`Test Failure: ${err}`);
|
|
49897
|
+
done(err);
|
|
49898
|
+
}
|
|
49899
|
+
});
|
|
49900
|
+
} catch (error) {
|
|
49901
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49902
|
+
done(error);
|
|
49903
|
+
}
|
|
49904
|
+
}).timeout(attemptTimeout);
|
|
49905
|
+
});
|
|
49906
|
+
|
|
49907
|
+
describe('#getWirelessRadioProfilesId - errors', () => {
|
|
49908
|
+
it('should have a getWirelessRadioProfilesId function', (done) => {
|
|
49909
|
+
try {
|
|
49910
|
+
assert.equal(true, typeof a.getWirelessRadioProfilesId === 'function');
|
|
49911
|
+
done();
|
|
49912
|
+
} catch (error) {
|
|
49913
|
+
log.error(`Test Failure: ${error}`);
|
|
49914
|
+
done(error);
|
|
49915
|
+
}
|
|
49916
|
+
}).timeout(attemptTimeout);
|
|
49917
|
+
it('should error if - missing id', (done) => {
|
|
49918
|
+
try {
|
|
49919
|
+
a.getWirelessRadioProfilesId('fakeparam', null, null, null, null, (data, error) => {
|
|
49920
|
+
try {
|
|
49921
|
+
const displayE = 'id is required';
|
|
49922
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessRadioProfilesId', displayE);
|
|
49923
|
+
done();
|
|
49924
|
+
} catch (err) {
|
|
49925
|
+
log.error(`Test Failure: ${err}`);
|
|
49926
|
+
done(err);
|
|
49927
|
+
}
|
|
49928
|
+
});
|
|
49929
|
+
} catch (error) {
|
|
49930
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49931
|
+
done(error);
|
|
49932
|
+
}
|
|
49933
|
+
}).timeout(attemptTimeout);
|
|
49934
|
+
});
|
|
49935
|
+
|
|
49936
|
+
describe('#putWirelessRadioProfilesId - errors', () => {
|
|
49937
|
+
it('should have a putWirelessRadioProfilesId function', (done) => {
|
|
49938
|
+
try {
|
|
49939
|
+
assert.equal(true, typeof a.putWirelessRadioProfilesId === 'function');
|
|
49940
|
+
done();
|
|
49941
|
+
} catch (error) {
|
|
49942
|
+
log.error(`Test Failure: ${error}`);
|
|
49943
|
+
done(error);
|
|
49944
|
+
}
|
|
49945
|
+
}).timeout(attemptTimeout);
|
|
49946
|
+
it('should error if - missing id', (done) => {
|
|
49947
|
+
try {
|
|
49948
|
+
a.putWirelessRadioProfilesId('fakeparam', null, null, null, (data, error) => {
|
|
49949
|
+
try {
|
|
49950
|
+
const displayE = 'id is required';
|
|
49951
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessRadioProfilesId', displayE);
|
|
49952
|
+
done();
|
|
49953
|
+
} catch (err) {
|
|
49954
|
+
log.error(`Test Failure: ${err}`);
|
|
49955
|
+
done(err);
|
|
49956
|
+
}
|
|
49957
|
+
});
|
|
49958
|
+
} catch (error) {
|
|
49959
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49960
|
+
done(error);
|
|
49961
|
+
}
|
|
49962
|
+
}).timeout(attemptTimeout);
|
|
49963
|
+
it('should error if - missing body', (done) => {
|
|
49964
|
+
try {
|
|
49965
|
+
a.putWirelessRadioProfilesId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
49966
|
+
try {
|
|
49967
|
+
const displayE = 'body is required';
|
|
49968
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessRadioProfilesId', displayE);
|
|
49969
|
+
done();
|
|
49970
|
+
} catch (err) {
|
|
49971
|
+
log.error(`Test Failure: ${err}`);
|
|
49972
|
+
done(err);
|
|
49973
|
+
}
|
|
49974
|
+
});
|
|
49975
|
+
} catch (error) {
|
|
49976
|
+
log.error(`Adapter Exception: ${error}`);
|
|
49977
|
+
done(error);
|
|
49978
|
+
}
|
|
49979
|
+
}).timeout(attemptTimeout);
|
|
49980
|
+
});
|
|
49981
|
+
|
|
49982
|
+
describe('#patchWirelessRadioProfilesId - errors', () => {
|
|
49983
|
+
it('should have a patchWirelessRadioProfilesId function', (done) => {
|
|
49984
|
+
try {
|
|
49985
|
+
assert.equal(true, typeof a.patchWirelessRadioProfilesId === 'function');
|
|
49986
|
+
done();
|
|
49987
|
+
} catch (error) {
|
|
49988
|
+
log.error(`Test Failure: ${error}`);
|
|
49989
|
+
done(error);
|
|
49990
|
+
}
|
|
49991
|
+
}).timeout(attemptTimeout);
|
|
49992
|
+
it('should error if - missing id', (done) => {
|
|
49993
|
+
try {
|
|
49994
|
+
a.patchWirelessRadioProfilesId('fakeparam', null, null, null, (data, error) => {
|
|
49995
|
+
try {
|
|
49996
|
+
const displayE = 'id is required';
|
|
49997
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessRadioProfilesId', displayE);
|
|
49998
|
+
done();
|
|
49999
|
+
} catch (err) {
|
|
50000
|
+
log.error(`Test Failure: ${err}`);
|
|
50001
|
+
done(err);
|
|
50002
|
+
}
|
|
50003
|
+
});
|
|
50004
|
+
} catch (error) {
|
|
50005
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50006
|
+
done(error);
|
|
50007
|
+
}
|
|
50008
|
+
}).timeout(attemptTimeout);
|
|
50009
|
+
});
|
|
50010
|
+
|
|
50011
|
+
describe('#deleteWirelessRadioProfilesId - errors', () => {
|
|
50012
|
+
it('should have a deleteWirelessRadioProfilesId function', (done) => {
|
|
50013
|
+
try {
|
|
50014
|
+
assert.equal(true, typeof a.deleteWirelessRadioProfilesId === 'function');
|
|
50015
|
+
done();
|
|
50016
|
+
} catch (error) {
|
|
50017
|
+
log.error(`Test Failure: ${error}`);
|
|
50018
|
+
done(error);
|
|
50019
|
+
}
|
|
50020
|
+
}).timeout(attemptTimeout);
|
|
50021
|
+
it('should error if - missing id', (done) => {
|
|
50022
|
+
try {
|
|
50023
|
+
a.deleteWirelessRadioProfilesId('fakeparam', null, null, (data, error) => {
|
|
50024
|
+
try {
|
|
50025
|
+
const displayE = 'id is required';
|
|
50026
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessRadioProfilesId', displayE);
|
|
50027
|
+
done();
|
|
50028
|
+
} catch (err) {
|
|
50029
|
+
log.error(`Test Failure: ${err}`);
|
|
50030
|
+
done(err);
|
|
50031
|
+
}
|
|
50032
|
+
});
|
|
50033
|
+
} catch (error) {
|
|
50034
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50035
|
+
done(error);
|
|
50036
|
+
}
|
|
50037
|
+
}).timeout(attemptTimeout);
|
|
50038
|
+
});
|
|
50039
|
+
|
|
50040
|
+
describe('#getWirelessRadioProfilesIdNotes - errors', () => {
|
|
50041
|
+
it('should have a getWirelessRadioProfilesIdNotes function', (done) => {
|
|
50042
|
+
try {
|
|
50043
|
+
assert.equal(true, typeof a.getWirelessRadioProfilesIdNotes === 'function');
|
|
50044
|
+
done();
|
|
50045
|
+
} catch (error) {
|
|
50046
|
+
log.error(`Test Failure: ${error}`);
|
|
50047
|
+
done(error);
|
|
50048
|
+
}
|
|
50049
|
+
}).timeout(attemptTimeout);
|
|
50050
|
+
it('should error if - missing id', (done) => {
|
|
50051
|
+
try {
|
|
50052
|
+
a.getWirelessRadioProfilesIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
50053
|
+
try {
|
|
50054
|
+
const displayE = 'id is required';
|
|
50055
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessRadioProfilesIdNotes', displayE);
|
|
50056
|
+
done();
|
|
50057
|
+
} catch (err) {
|
|
50058
|
+
log.error(`Test Failure: ${err}`);
|
|
50059
|
+
done(err);
|
|
50060
|
+
}
|
|
50061
|
+
});
|
|
50062
|
+
} catch (error) {
|
|
50063
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50064
|
+
done(error);
|
|
50065
|
+
}
|
|
50066
|
+
}).timeout(attemptTimeout);
|
|
50067
|
+
});
|
|
50068
|
+
|
|
50069
|
+
describe('#postWirelessRadioProfilesIdNotes - errors', () => {
|
|
50070
|
+
it('should have a postWirelessRadioProfilesIdNotes function', (done) => {
|
|
50071
|
+
try {
|
|
50072
|
+
assert.equal(true, typeof a.postWirelessRadioProfilesIdNotes === 'function');
|
|
50073
|
+
done();
|
|
50074
|
+
} catch (error) {
|
|
50075
|
+
log.error(`Test Failure: ${error}`);
|
|
50076
|
+
done(error);
|
|
50077
|
+
}
|
|
50078
|
+
}).timeout(attemptTimeout);
|
|
50079
|
+
it('should error if - missing id', (done) => {
|
|
50080
|
+
try {
|
|
50081
|
+
a.postWirelessRadioProfilesIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
50082
|
+
try {
|
|
50083
|
+
const displayE = 'id is required';
|
|
50084
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessRadioProfilesIdNotes', displayE);
|
|
50085
|
+
done();
|
|
50086
|
+
} catch (err) {
|
|
50087
|
+
log.error(`Test Failure: ${err}`);
|
|
50088
|
+
done(err);
|
|
50089
|
+
}
|
|
50090
|
+
});
|
|
50091
|
+
} catch (error) {
|
|
50092
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50093
|
+
done(error);
|
|
50094
|
+
}
|
|
50095
|
+
}).timeout(attemptTimeout);
|
|
50096
|
+
it('should error if - missing body', (done) => {
|
|
50097
|
+
try {
|
|
50098
|
+
a.postWirelessRadioProfilesIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
50099
|
+
try {
|
|
50100
|
+
const displayE = 'body is required';
|
|
50101
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessRadioProfilesIdNotes', displayE);
|
|
50102
|
+
done();
|
|
50103
|
+
} catch (err) {
|
|
50104
|
+
log.error(`Test Failure: ${err}`);
|
|
50105
|
+
done(err);
|
|
50106
|
+
}
|
|
50107
|
+
});
|
|
50108
|
+
} catch (error) {
|
|
50109
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50110
|
+
done(error);
|
|
50111
|
+
}
|
|
50112
|
+
}).timeout(attemptTimeout);
|
|
50113
|
+
});
|
|
50114
|
+
|
|
50115
|
+
describe('#getWirelessSupportedDataRates - errors', () => {
|
|
50116
|
+
it('should have a getWirelessSupportedDataRates function', (done) => {
|
|
50117
|
+
try {
|
|
50118
|
+
assert.equal(true, typeof a.getWirelessSupportedDataRates === 'function');
|
|
50119
|
+
done();
|
|
50120
|
+
} catch (error) {
|
|
50121
|
+
log.error(`Test Failure: ${error}`);
|
|
50122
|
+
done(error);
|
|
50123
|
+
}
|
|
50124
|
+
}).timeout(attemptTimeout);
|
|
50125
|
+
});
|
|
50126
|
+
|
|
50127
|
+
describe('#postWirelessSupportedDataRates - errors', () => {
|
|
50128
|
+
it('should have a postWirelessSupportedDataRates function', (done) => {
|
|
50129
|
+
try {
|
|
50130
|
+
assert.equal(true, typeof a.postWirelessSupportedDataRates === 'function');
|
|
50131
|
+
done();
|
|
50132
|
+
} catch (error) {
|
|
50133
|
+
log.error(`Test Failure: ${error}`);
|
|
50134
|
+
done(error);
|
|
50135
|
+
}
|
|
50136
|
+
}).timeout(attemptTimeout);
|
|
50137
|
+
it('should error if - missing body', (done) => {
|
|
50138
|
+
try {
|
|
50139
|
+
a.postWirelessSupportedDataRates('fakeparam', null, null, (data, error) => {
|
|
50140
|
+
try {
|
|
50141
|
+
const displayE = 'body is required';
|
|
50142
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessSupportedDataRates', displayE);
|
|
50143
|
+
done();
|
|
50144
|
+
} catch (err) {
|
|
50145
|
+
log.error(`Test Failure: ${err}`);
|
|
50146
|
+
done(err);
|
|
50147
|
+
}
|
|
50148
|
+
});
|
|
50149
|
+
} catch (error) {
|
|
50150
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50151
|
+
done(error);
|
|
50152
|
+
}
|
|
50153
|
+
}).timeout(attemptTimeout);
|
|
50154
|
+
});
|
|
50155
|
+
|
|
50156
|
+
describe('#putWirelessSupportedDataRates - errors', () => {
|
|
50157
|
+
it('should have a putWirelessSupportedDataRates function', (done) => {
|
|
50158
|
+
try {
|
|
50159
|
+
assert.equal(true, typeof a.putWirelessSupportedDataRates === 'function');
|
|
50160
|
+
done();
|
|
50161
|
+
} catch (error) {
|
|
50162
|
+
log.error(`Test Failure: ${error}`);
|
|
50163
|
+
done(error);
|
|
50164
|
+
}
|
|
50165
|
+
}).timeout(attemptTimeout);
|
|
50166
|
+
it('should error if - missing body', (done) => {
|
|
50167
|
+
try {
|
|
50168
|
+
a.putWirelessSupportedDataRates('fakeparam', null, null, (data, error) => {
|
|
50169
|
+
try {
|
|
50170
|
+
const displayE = 'body is required';
|
|
50171
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessSupportedDataRates', displayE);
|
|
50172
|
+
done();
|
|
50173
|
+
} catch (err) {
|
|
50174
|
+
log.error(`Test Failure: ${err}`);
|
|
50175
|
+
done(err);
|
|
50176
|
+
}
|
|
50177
|
+
});
|
|
50178
|
+
} catch (error) {
|
|
50179
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50180
|
+
done(error);
|
|
50181
|
+
}
|
|
50182
|
+
}).timeout(attemptTimeout);
|
|
50183
|
+
});
|
|
50184
|
+
|
|
50185
|
+
describe('#patchWirelessSupportedDataRates - errors', () => {
|
|
50186
|
+
it('should have a patchWirelessSupportedDataRates function', (done) => {
|
|
50187
|
+
try {
|
|
50188
|
+
assert.equal(true, typeof a.patchWirelessSupportedDataRates === 'function');
|
|
50189
|
+
done();
|
|
50190
|
+
} catch (error) {
|
|
50191
|
+
log.error(`Test Failure: ${error}`);
|
|
50192
|
+
done(error);
|
|
50193
|
+
}
|
|
50194
|
+
}).timeout(attemptTimeout);
|
|
50195
|
+
it('should error if - missing body', (done) => {
|
|
50196
|
+
try {
|
|
50197
|
+
a.patchWirelessSupportedDataRates('fakeparam', null, null, (data, error) => {
|
|
50198
|
+
try {
|
|
50199
|
+
const displayE = 'body is required';
|
|
50200
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessSupportedDataRates', displayE);
|
|
50201
|
+
done();
|
|
50202
|
+
} catch (err) {
|
|
50203
|
+
log.error(`Test Failure: ${err}`);
|
|
50204
|
+
done(err);
|
|
50205
|
+
}
|
|
50206
|
+
});
|
|
50207
|
+
} catch (error) {
|
|
50208
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50209
|
+
done(error);
|
|
50210
|
+
}
|
|
50211
|
+
}).timeout(attemptTimeout);
|
|
50212
|
+
});
|
|
50213
|
+
|
|
50214
|
+
describe('#deleteWirelessSupportedDataRates - errors', () => {
|
|
50215
|
+
it('should have a deleteWirelessSupportedDataRates function', (done) => {
|
|
50216
|
+
try {
|
|
50217
|
+
assert.equal(true, typeof a.deleteWirelessSupportedDataRates === 'function');
|
|
50218
|
+
done();
|
|
50219
|
+
} catch (error) {
|
|
50220
|
+
log.error(`Test Failure: ${error}`);
|
|
50221
|
+
done(error);
|
|
50222
|
+
}
|
|
50223
|
+
}).timeout(attemptTimeout);
|
|
50224
|
+
it('should error if - missing body', (done) => {
|
|
50225
|
+
try {
|
|
50226
|
+
a.deleteWirelessSupportedDataRates('fakeparam', null, null, (data, error) => {
|
|
50227
|
+
try {
|
|
50228
|
+
const displayE = 'body is required';
|
|
50229
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessSupportedDataRates', displayE);
|
|
50230
|
+
done();
|
|
50231
|
+
} catch (err) {
|
|
50232
|
+
log.error(`Test Failure: ${err}`);
|
|
50233
|
+
done(err);
|
|
50234
|
+
}
|
|
50235
|
+
});
|
|
50236
|
+
} catch (error) {
|
|
50237
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50238
|
+
done(error);
|
|
50239
|
+
}
|
|
50240
|
+
}).timeout(attemptTimeout);
|
|
50241
|
+
});
|
|
50242
|
+
|
|
50243
|
+
describe('#getWirelessSupportedDataRatesId - errors', () => {
|
|
50244
|
+
it('should have a getWirelessSupportedDataRatesId function', (done) => {
|
|
50245
|
+
try {
|
|
50246
|
+
assert.equal(true, typeof a.getWirelessSupportedDataRatesId === 'function');
|
|
50247
|
+
done();
|
|
50248
|
+
} catch (error) {
|
|
50249
|
+
log.error(`Test Failure: ${error}`);
|
|
50250
|
+
done(error);
|
|
50251
|
+
}
|
|
50252
|
+
}).timeout(attemptTimeout);
|
|
50253
|
+
it('should error if - missing id', (done) => {
|
|
50254
|
+
try {
|
|
50255
|
+
a.getWirelessSupportedDataRatesId('fakeparam', null, null, null, null, (data, error) => {
|
|
50256
|
+
try {
|
|
50257
|
+
const displayE = 'id is required';
|
|
50258
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessSupportedDataRatesId', displayE);
|
|
50259
|
+
done();
|
|
50260
|
+
} catch (err) {
|
|
50261
|
+
log.error(`Test Failure: ${err}`);
|
|
50262
|
+
done(err);
|
|
50263
|
+
}
|
|
50264
|
+
});
|
|
50265
|
+
} catch (error) {
|
|
50266
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50267
|
+
done(error);
|
|
50268
|
+
}
|
|
50269
|
+
}).timeout(attemptTimeout);
|
|
50270
|
+
});
|
|
50271
|
+
|
|
50272
|
+
describe('#putWirelessSupportedDataRatesId - errors', () => {
|
|
50273
|
+
it('should have a putWirelessSupportedDataRatesId function', (done) => {
|
|
50274
|
+
try {
|
|
50275
|
+
assert.equal(true, typeof a.putWirelessSupportedDataRatesId === 'function');
|
|
50276
|
+
done();
|
|
50277
|
+
} catch (error) {
|
|
50278
|
+
log.error(`Test Failure: ${error}`);
|
|
50279
|
+
done(error);
|
|
50280
|
+
}
|
|
50281
|
+
}).timeout(attemptTimeout);
|
|
50282
|
+
it('should error if - missing id', (done) => {
|
|
50283
|
+
try {
|
|
50284
|
+
a.putWirelessSupportedDataRatesId('fakeparam', null, null, null, (data, error) => {
|
|
50285
|
+
try {
|
|
50286
|
+
const displayE = 'id is required';
|
|
50287
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessSupportedDataRatesId', displayE);
|
|
50288
|
+
done();
|
|
50289
|
+
} catch (err) {
|
|
50290
|
+
log.error(`Test Failure: ${err}`);
|
|
50291
|
+
done(err);
|
|
50292
|
+
}
|
|
50293
|
+
});
|
|
50294
|
+
} catch (error) {
|
|
50295
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50296
|
+
done(error);
|
|
50297
|
+
}
|
|
50298
|
+
}).timeout(attemptTimeout);
|
|
50299
|
+
it('should error if - missing body', (done) => {
|
|
50300
|
+
try {
|
|
50301
|
+
a.putWirelessSupportedDataRatesId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
50302
|
+
try {
|
|
50303
|
+
const displayE = 'body is required';
|
|
50304
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessSupportedDataRatesId', displayE);
|
|
50305
|
+
done();
|
|
50306
|
+
} catch (err) {
|
|
50307
|
+
log.error(`Test Failure: ${err}`);
|
|
50308
|
+
done(err);
|
|
50309
|
+
}
|
|
50310
|
+
});
|
|
50311
|
+
} catch (error) {
|
|
50312
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50313
|
+
done(error);
|
|
50314
|
+
}
|
|
50315
|
+
}).timeout(attemptTimeout);
|
|
50316
|
+
});
|
|
50317
|
+
|
|
50318
|
+
describe('#patchWirelessSupportedDataRatesId - errors', () => {
|
|
50319
|
+
it('should have a patchWirelessSupportedDataRatesId function', (done) => {
|
|
50320
|
+
try {
|
|
50321
|
+
assert.equal(true, typeof a.patchWirelessSupportedDataRatesId === 'function');
|
|
50322
|
+
done();
|
|
50323
|
+
} catch (error) {
|
|
50324
|
+
log.error(`Test Failure: ${error}`);
|
|
50325
|
+
done(error);
|
|
50326
|
+
}
|
|
50327
|
+
}).timeout(attemptTimeout);
|
|
50328
|
+
it('should error if - missing id', (done) => {
|
|
50329
|
+
try {
|
|
50330
|
+
a.patchWirelessSupportedDataRatesId('fakeparam', null, null, null, (data, error) => {
|
|
50331
|
+
try {
|
|
50332
|
+
const displayE = 'id is required';
|
|
50333
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessSupportedDataRatesId', displayE);
|
|
50334
|
+
done();
|
|
50335
|
+
} catch (err) {
|
|
50336
|
+
log.error(`Test Failure: ${err}`);
|
|
50337
|
+
done(err);
|
|
50338
|
+
}
|
|
50339
|
+
});
|
|
50340
|
+
} catch (error) {
|
|
50341
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50342
|
+
done(error);
|
|
50343
|
+
}
|
|
50344
|
+
}).timeout(attemptTimeout);
|
|
50345
|
+
});
|
|
50346
|
+
|
|
50347
|
+
describe('#deleteWirelessSupportedDataRatesId - errors', () => {
|
|
50348
|
+
it('should have a deleteWirelessSupportedDataRatesId function', (done) => {
|
|
50349
|
+
try {
|
|
50350
|
+
assert.equal(true, typeof a.deleteWirelessSupportedDataRatesId === 'function');
|
|
50351
|
+
done();
|
|
50352
|
+
} catch (error) {
|
|
50353
|
+
log.error(`Test Failure: ${error}`);
|
|
50354
|
+
done(error);
|
|
50355
|
+
}
|
|
50356
|
+
}).timeout(attemptTimeout);
|
|
50357
|
+
it('should error if - missing id', (done) => {
|
|
50358
|
+
try {
|
|
50359
|
+
a.deleteWirelessSupportedDataRatesId('fakeparam', null, null, (data, error) => {
|
|
50360
|
+
try {
|
|
50361
|
+
const displayE = 'id is required';
|
|
50362
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessSupportedDataRatesId', displayE);
|
|
50363
|
+
done();
|
|
50364
|
+
} catch (err) {
|
|
50365
|
+
log.error(`Test Failure: ${err}`);
|
|
50366
|
+
done(err);
|
|
50367
|
+
}
|
|
50368
|
+
});
|
|
50369
|
+
} catch (error) {
|
|
50370
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50371
|
+
done(error);
|
|
50372
|
+
}
|
|
50373
|
+
}).timeout(attemptTimeout);
|
|
50374
|
+
});
|
|
50375
|
+
|
|
50376
|
+
describe('#getWirelessSupportedDataRatesIdNotes - errors', () => {
|
|
50377
|
+
it('should have a getWirelessSupportedDataRatesIdNotes function', (done) => {
|
|
50378
|
+
try {
|
|
50379
|
+
assert.equal(true, typeof a.getWirelessSupportedDataRatesIdNotes === 'function');
|
|
50380
|
+
done();
|
|
50381
|
+
} catch (error) {
|
|
50382
|
+
log.error(`Test Failure: ${error}`);
|
|
50383
|
+
done(error);
|
|
50384
|
+
}
|
|
50385
|
+
}).timeout(attemptTimeout);
|
|
50386
|
+
it('should error if - missing id', (done) => {
|
|
50387
|
+
try {
|
|
50388
|
+
a.getWirelessSupportedDataRatesIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
50389
|
+
try {
|
|
50390
|
+
const displayE = 'id is required';
|
|
50391
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessSupportedDataRatesIdNotes', displayE);
|
|
50392
|
+
done();
|
|
50393
|
+
} catch (err) {
|
|
50394
|
+
log.error(`Test Failure: ${err}`);
|
|
50395
|
+
done(err);
|
|
50396
|
+
}
|
|
50397
|
+
});
|
|
50398
|
+
} catch (error) {
|
|
50399
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50400
|
+
done(error);
|
|
50401
|
+
}
|
|
50402
|
+
}).timeout(attemptTimeout);
|
|
50403
|
+
});
|
|
50404
|
+
|
|
50405
|
+
describe('#postWirelessSupportedDataRatesIdNotes - errors', () => {
|
|
50406
|
+
it('should have a postWirelessSupportedDataRatesIdNotes function', (done) => {
|
|
50407
|
+
try {
|
|
50408
|
+
assert.equal(true, typeof a.postWirelessSupportedDataRatesIdNotes === 'function');
|
|
50409
|
+
done();
|
|
50410
|
+
} catch (error) {
|
|
50411
|
+
log.error(`Test Failure: ${error}`);
|
|
50412
|
+
done(error);
|
|
50413
|
+
}
|
|
50414
|
+
}).timeout(attemptTimeout);
|
|
50415
|
+
it('should error if - missing id', (done) => {
|
|
50416
|
+
try {
|
|
50417
|
+
a.postWirelessSupportedDataRatesIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
50418
|
+
try {
|
|
50419
|
+
const displayE = 'id is required';
|
|
50420
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessSupportedDataRatesIdNotes', displayE);
|
|
50421
|
+
done();
|
|
50422
|
+
} catch (err) {
|
|
50423
|
+
log.error(`Test Failure: ${err}`);
|
|
50424
|
+
done(err);
|
|
50425
|
+
}
|
|
50426
|
+
});
|
|
50427
|
+
} catch (error) {
|
|
50428
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50429
|
+
done(error);
|
|
50430
|
+
}
|
|
50431
|
+
}).timeout(attemptTimeout);
|
|
50432
|
+
it('should error if - missing body', (done) => {
|
|
50433
|
+
try {
|
|
50434
|
+
a.postWirelessSupportedDataRatesIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
50435
|
+
try {
|
|
50436
|
+
const displayE = 'body is required';
|
|
50437
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessSupportedDataRatesIdNotes', displayE);
|
|
50438
|
+
done();
|
|
50439
|
+
} catch (err) {
|
|
50440
|
+
log.error(`Test Failure: ${err}`);
|
|
50441
|
+
done(err);
|
|
50442
|
+
}
|
|
50443
|
+
});
|
|
50444
|
+
} catch (error) {
|
|
50445
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50446
|
+
done(error);
|
|
50447
|
+
}
|
|
50448
|
+
}).timeout(attemptTimeout);
|
|
50449
|
+
});
|
|
50450
|
+
|
|
50451
|
+
describe('#getWirelessWirelessNetworks - errors', () => {
|
|
50452
|
+
it('should have a getWirelessWirelessNetworks function', (done) => {
|
|
50453
|
+
try {
|
|
50454
|
+
assert.equal(true, typeof a.getWirelessWirelessNetworks === 'function');
|
|
50455
|
+
done();
|
|
50456
|
+
} catch (error) {
|
|
50457
|
+
log.error(`Test Failure: ${error}`);
|
|
50458
|
+
done(error);
|
|
50459
|
+
}
|
|
50460
|
+
}).timeout(attemptTimeout);
|
|
50461
|
+
});
|
|
50462
|
+
|
|
50463
|
+
describe('#postWirelessWirelessNetworks - errors', () => {
|
|
50464
|
+
it('should have a postWirelessWirelessNetworks function', (done) => {
|
|
50465
|
+
try {
|
|
50466
|
+
assert.equal(true, typeof a.postWirelessWirelessNetworks === 'function');
|
|
50467
|
+
done();
|
|
50468
|
+
} catch (error) {
|
|
50469
|
+
log.error(`Test Failure: ${error}`);
|
|
50470
|
+
done(error);
|
|
50471
|
+
}
|
|
50472
|
+
}).timeout(attemptTimeout);
|
|
50473
|
+
it('should error if - missing body', (done) => {
|
|
50474
|
+
try {
|
|
50475
|
+
a.postWirelessWirelessNetworks('fakeparam', null, null, (data, error) => {
|
|
50476
|
+
try {
|
|
50477
|
+
const displayE = 'body is required';
|
|
50478
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessWirelessNetworks', displayE);
|
|
50479
|
+
done();
|
|
50480
|
+
} catch (err) {
|
|
50481
|
+
log.error(`Test Failure: ${err}`);
|
|
50482
|
+
done(err);
|
|
50483
|
+
}
|
|
50484
|
+
});
|
|
50485
|
+
} catch (error) {
|
|
50486
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50487
|
+
done(error);
|
|
50488
|
+
}
|
|
50489
|
+
}).timeout(attemptTimeout);
|
|
50490
|
+
});
|
|
50491
|
+
|
|
50492
|
+
describe('#putWirelessWirelessNetworks - errors', () => {
|
|
50493
|
+
it('should have a putWirelessWirelessNetworks function', (done) => {
|
|
50494
|
+
try {
|
|
50495
|
+
assert.equal(true, typeof a.putWirelessWirelessNetworks === 'function');
|
|
50496
|
+
done();
|
|
50497
|
+
} catch (error) {
|
|
50498
|
+
log.error(`Test Failure: ${error}`);
|
|
50499
|
+
done(error);
|
|
50500
|
+
}
|
|
50501
|
+
}).timeout(attemptTimeout);
|
|
50502
|
+
it('should error if - missing body', (done) => {
|
|
50503
|
+
try {
|
|
50504
|
+
a.putWirelessWirelessNetworks('fakeparam', null, null, (data, error) => {
|
|
50505
|
+
try {
|
|
50506
|
+
const displayE = 'body is required';
|
|
50507
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessWirelessNetworks', displayE);
|
|
50508
|
+
done();
|
|
50509
|
+
} catch (err) {
|
|
50510
|
+
log.error(`Test Failure: ${err}`);
|
|
50511
|
+
done(err);
|
|
50512
|
+
}
|
|
50513
|
+
});
|
|
50514
|
+
} catch (error) {
|
|
50515
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50516
|
+
done(error);
|
|
50517
|
+
}
|
|
50518
|
+
}).timeout(attemptTimeout);
|
|
50519
|
+
});
|
|
50520
|
+
|
|
50521
|
+
describe('#patchWirelessWirelessNetworks - errors', () => {
|
|
50522
|
+
it('should have a patchWirelessWirelessNetworks function', (done) => {
|
|
50523
|
+
try {
|
|
50524
|
+
assert.equal(true, typeof a.patchWirelessWirelessNetworks === 'function');
|
|
50525
|
+
done();
|
|
50526
|
+
} catch (error) {
|
|
50527
|
+
log.error(`Test Failure: ${error}`);
|
|
50528
|
+
done(error);
|
|
50529
|
+
}
|
|
50530
|
+
}).timeout(attemptTimeout);
|
|
50531
|
+
it('should error if - missing body', (done) => {
|
|
50532
|
+
try {
|
|
50533
|
+
a.patchWirelessWirelessNetworks('fakeparam', null, null, (data, error) => {
|
|
50534
|
+
try {
|
|
50535
|
+
const displayE = 'body is required';
|
|
50536
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessWirelessNetworks', displayE);
|
|
50537
|
+
done();
|
|
50538
|
+
} catch (err) {
|
|
50539
|
+
log.error(`Test Failure: ${err}`);
|
|
50540
|
+
done(err);
|
|
50541
|
+
}
|
|
50542
|
+
});
|
|
50543
|
+
} catch (error) {
|
|
50544
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50545
|
+
done(error);
|
|
50546
|
+
}
|
|
50547
|
+
}).timeout(attemptTimeout);
|
|
50548
|
+
});
|
|
50549
|
+
|
|
50550
|
+
describe('#deleteWirelessWirelessNetworks - errors', () => {
|
|
50551
|
+
it('should have a deleteWirelessWirelessNetworks function', (done) => {
|
|
50552
|
+
try {
|
|
50553
|
+
assert.equal(true, typeof a.deleteWirelessWirelessNetworks === 'function');
|
|
50554
|
+
done();
|
|
50555
|
+
} catch (error) {
|
|
50556
|
+
log.error(`Test Failure: ${error}`);
|
|
50557
|
+
done(error);
|
|
50558
|
+
}
|
|
50559
|
+
}).timeout(attemptTimeout);
|
|
50560
|
+
it('should error if - missing body', (done) => {
|
|
50561
|
+
try {
|
|
50562
|
+
a.deleteWirelessWirelessNetworks('fakeparam', null, null, (data, error) => {
|
|
50563
|
+
try {
|
|
50564
|
+
const displayE = 'body is required';
|
|
50565
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessWirelessNetworks', displayE);
|
|
50566
|
+
done();
|
|
50567
|
+
} catch (err) {
|
|
50568
|
+
log.error(`Test Failure: ${err}`);
|
|
50569
|
+
done(err);
|
|
50570
|
+
}
|
|
50571
|
+
});
|
|
50572
|
+
} catch (error) {
|
|
50573
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50574
|
+
done(error);
|
|
50575
|
+
}
|
|
50576
|
+
}).timeout(attemptTimeout);
|
|
50577
|
+
});
|
|
50578
|
+
|
|
50579
|
+
describe('#getWirelessWirelessNetworksId - errors', () => {
|
|
50580
|
+
it('should have a getWirelessWirelessNetworksId function', (done) => {
|
|
50581
|
+
try {
|
|
50582
|
+
assert.equal(true, typeof a.getWirelessWirelessNetworksId === 'function');
|
|
50583
|
+
done();
|
|
50584
|
+
} catch (error) {
|
|
50585
|
+
log.error(`Test Failure: ${error}`);
|
|
50586
|
+
done(error);
|
|
50587
|
+
}
|
|
50588
|
+
}).timeout(attemptTimeout);
|
|
50589
|
+
it('should error if - missing id', (done) => {
|
|
50590
|
+
try {
|
|
50591
|
+
a.getWirelessWirelessNetworksId('fakeparam', null, null, null, null, (data, error) => {
|
|
50592
|
+
try {
|
|
50593
|
+
const displayE = 'id is required';
|
|
50594
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessWirelessNetworksId', displayE);
|
|
50595
|
+
done();
|
|
50596
|
+
} catch (err) {
|
|
50597
|
+
log.error(`Test Failure: ${err}`);
|
|
50598
|
+
done(err);
|
|
50599
|
+
}
|
|
50600
|
+
});
|
|
50601
|
+
} catch (error) {
|
|
50602
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50603
|
+
done(error);
|
|
50604
|
+
}
|
|
50605
|
+
}).timeout(attemptTimeout);
|
|
50606
|
+
});
|
|
50607
|
+
|
|
50608
|
+
describe('#putWirelessWirelessNetworksId - errors', () => {
|
|
50609
|
+
it('should have a putWirelessWirelessNetworksId function', (done) => {
|
|
50610
|
+
try {
|
|
50611
|
+
assert.equal(true, typeof a.putWirelessWirelessNetworksId === 'function');
|
|
50612
|
+
done();
|
|
50613
|
+
} catch (error) {
|
|
50614
|
+
log.error(`Test Failure: ${error}`);
|
|
50615
|
+
done(error);
|
|
50616
|
+
}
|
|
50617
|
+
}).timeout(attemptTimeout);
|
|
50618
|
+
it('should error if - missing id', (done) => {
|
|
50619
|
+
try {
|
|
50620
|
+
a.putWirelessWirelessNetworksId('fakeparam', null, null, null, (data, error) => {
|
|
50621
|
+
try {
|
|
50622
|
+
const displayE = 'id is required';
|
|
50623
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessWirelessNetworksId', displayE);
|
|
50624
|
+
done();
|
|
50625
|
+
} catch (err) {
|
|
50626
|
+
log.error(`Test Failure: ${err}`);
|
|
50627
|
+
done(err);
|
|
50628
|
+
}
|
|
50629
|
+
});
|
|
50630
|
+
} catch (error) {
|
|
50631
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50632
|
+
done(error);
|
|
50633
|
+
}
|
|
50634
|
+
}).timeout(attemptTimeout);
|
|
50635
|
+
it('should error if - missing body', (done) => {
|
|
50636
|
+
try {
|
|
50637
|
+
a.putWirelessWirelessNetworksId('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
50638
|
+
try {
|
|
50639
|
+
const displayE = 'body is required';
|
|
50640
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-putWirelessWirelessNetworksId', displayE);
|
|
50641
|
+
done();
|
|
50642
|
+
} catch (err) {
|
|
50643
|
+
log.error(`Test Failure: ${err}`);
|
|
50644
|
+
done(err);
|
|
50645
|
+
}
|
|
50646
|
+
});
|
|
50647
|
+
} catch (error) {
|
|
50648
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50649
|
+
done(error);
|
|
50650
|
+
}
|
|
50651
|
+
}).timeout(attemptTimeout);
|
|
50652
|
+
});
|
|
50653
|
+
|
|
50654
|
+
describe('#patchWirelessWirelessNetworksId - errors', () => {
|
|
50655
|
+
it('should have a patchWirelessWirelessNetworksId function', (done) => {
|
|
50656
|
+
try {
|
|
50657
|
+
assert.equal(true, typeof a.patchWirelessWirelessNetworksId === 'function');
|
|
50658
|
+
done();
|
|
50659
|
+
} catch (error) {
|
|
50660
|
+
log.error(`Test Failure: ${error}`);
|
|
50661
|
+
done(error);
|
|
50662
|
+
}
|
|
50663
|
+
}).timeout(attemptTimeout);
|
|
50664
|
+
it('should error if - missing id', (done) => {
|
|
50665
|
+
try {
|
|
50666
|
+
a.patchWirelessWirelessNetworksId('fakeparam', null, null, null, (data, error) => {
|
|
50667
|
+
try {
|
|
50668
|
+
const displayE = 'id is required';
|
|
50669
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-patchWirelessWirelessNetworksId', displayE);
|
|
50670
|
+
done();
|
|
50671
|
+
} catch (err) {
|
|
50672
|
+
log.error(`Test Failure: ${err}`);
|
|
50673
|
+
done(err);
|
|
50674
|
+
}
|
|
50675
|
+
});
|
|
50676
|
+
} catch (error) {
|
|
50677
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50678
|
+
done(error);
|
|
50679
|
+
}
|
|
50680
|
+
}).timeout(attemptTimeout);
|
|
50681
|
+
});
|
|
50682
|
+
|
|
50683
|
+
describe('#deleteWirelessWirelessNetworksId - errors', () => {
|
|
50684
|
+
it('should have a deleteWirelessWirelessNetworksId function', (done) => {
|
|
50685
|
+
try {
|
|
50686
|
+
assert.equal(true, typeof a.deleteWirelessWirelessNetworksId === 'function');
|
|
50687
|
+
done();
|
|
50688
|
+
} catch (error) {
|
|
50689
|
+
log.error(`Test Failure: ${error}`);
|
|
50690
|
+
done(error);
|
|
50691
|
+
}
|
|
50692
|
+
}).timeout(attemptTimeout);
|
|
50693
|
+
it('should error if - missing id', (done) => {
|
|
50694
|
+
try {
|
|
50695
|
+
a.deleteWirelessWirelessNetworksId('fakeparam', null, null, (data, error) => {
|
|
50696
|
+
try {
|
|
50697
|
+
const displayE = 'id is required';
|
|
50698
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-deleteWirelessWirelessNetworksId', displayE);
|
|
50699
|
+
done();
|
|
50700
|
+
} catch (err) {
|
|
50701
|
+
log.error(`Test Failure: ${err}`);
|
|
50702
|
+
done(err);
|
|
50703
|
+
}
|
|
50704
|
+
});
|
|
50705
|
+
} catch (error) {
|
|
50706
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50707
|
+
done(error);
|
|
50708
|
+
}
|
|
50709
|
+
}).timeout(attemptTimeout);
|
|
50710
|
+
});
|
|
50711
|
+
|
|
50712
|
+
describe('#getWirelessWirelessNetworksIdNotes - errors', () => {
|
|
50713
|
+
it('should have a getWirelessWirelessNetworksIdNotes function', (done) => {
|
|
50714
|
+
try {
|
|
50715
|
+
assert.equal(true, typeof a.getWirelessWirelessNetworksIdNotes === 'function');
|
|
50716
|
+
done();
|
|
50717
|
+
} catch (error) {
|
|
50718
|
+
log.error(`Test Failure: ${error}`);
|
|
50719
|
+
done(error);
|
|
50720
|
+
}
|
|
50721
|
+
}).timeout(attemptTimeout);
|
|
50722
|
+
it('should error if - missing id', (done) => {
|
|
50723
|
+
try {
|
|
50724
|
+
a.getWirelessWirelessNetworksIdNotes('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
50725
|
+
try {
|
|
50726
|
+
const displayE = 'id is required';
|
|
50727
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-getWirelessWirelessNetworksIdNotes', displayE);
|
|
50728
|
+
done();
|
|
50729
|
+
} catch (err) {
|
|
50730
|
+
log.error(`Test Failure: ${err}`);
|
|
50731
|
+
done(err);
|
|
50732
|
+
}
|
|
50733
|
+
});
|
|
50734
|
+
} catch (error) {
|
|
50735
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50736
|
+
done(error);
|
|
50737
|
+
}
|
|
50738
|
+
}).timeout(attemptTimeout);
|
|
50739
|
+
});
|
|
50740
|
+
|
|
50741
|
+
describe('#postWirelessWirelessNetworksIdNotes - errors', () => {
|
|
50742
|
+
it('should have a postWirelessWirelessNetworksIdNotes function', (done) => {
|
|
50743
|
+
try {
|
|
50744
|
+
assert.equal(true, typeof a.postWirelessWirelessNetworksIdNotes === 'function');
|
|
50745
|
+
done();
|
|
50746
|
+
} catch (error) {
|
|
50747
|
+
log.error(`Test Failure: ${error}`);
|
|
50748
|
+
done(error);
|
|
50749
|
+
}
|
|
50750
|
+
}).timeout(attemptTimeout);
|
|
50751
|
+
it('should error if - missing id', (done) => {
|
|
50752
|
+
try {
|
|
50753
|
+
a.postWirelessWirelessNetworksIdNotes('fakeparam', null, null, null, (data, error) => {
|
|
50754
|
+
try {
|
|
50755
|
+
const displayE = 'id is required';
|
|
50756
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessWirelessNetworksIdNotes', displayE);
|
|
50757
|
+
done();
|
|
50758
|
+
} catch (err) {
|
|
50759
|
+
log.error(`Test Failure: ${err}`);
|
|
50760
|
+
done(err);
|
|
50761
|
+
}
|
|
50762
|
+
});
|
|
50763
|
+
} catch (error) {
|
|
50764
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50765
|
+
done(error);
|
|
50766
|
+
}
|
|
50767
|
+
}).timeout(attemptTimeout);
|
|
50768
|
+
it('should error if - missing body', (done) => {
|
|
50769
|
+
try {
|
|
50770
|
+
a.postWirelessWirelessNetworksIdNotes('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
50771
|
+
try {
|
|
50772
|
+
const displayE = 'body is required';
|
|
50773
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-nautobot_v2-adapter-postWirelessWirelessNetworksIdNotes', displayE);
|
|
50774
|
+
done();
|
|
50775
|
+
} catch (err) {
|
|
50776
|
+
log.error(`Test Failure: ${err}`);
|
|
50777
|
+
done(err);
|
|
50778
|
+
}
|
|
50779
|
+
});
|
|
50780
|
+
} catch (error) {
|
|
50781
|
+
log.error(`Adapter Exception: ${error}`);
|
|
50782
|
+
done(error);
|
|
50783
|
+
}
|
|
50784
|
+
}).timeout(attemptTimeout);
|
|
50785
|
+
});
|
|
50786
|
+
|
|
50787
|
+
describe('#getMetrics - errors', () => {
|
|
50788
|
+
it('should have a getMetrics function', (done) => {
|
|
50789
|
+
try {
|
|
50790
|
+
assert.equal(true, typeof a.getMetrics === 'function');
|
|
50791
|
+
done();
|
|
50792
|
+
} catch (error) {
|
|
50793
|
+
log.error(`Test Failure: ${error}`);
|
|
50794
|
+
done(error);
|
|
50795
|
+
}
|
|
50796
|
+
}).timeout(attemptTimeout);
|
|
50797
|
+
});
|
|
47332
50798
|
});
|
|
47333
50799
|
});
|