Commit Graph

1508 Commits

Author SHA1 Message Date
shivamcandela
3faadebb67 updated pytest directory structure, removed oytest ordering
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-16 21:47:05 +05:30
shivamcandela
8b3cf4a385 updated pytest.ini
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-15 00:10:30 +05:30
shivamcandela
6b1917eab4 Sanity suite completed
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-15 00:08:24 +05:30
shivamcandela
8d1af9310b fixture rearrangements and test case refactorization
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-13 22:23:00 +05:30
shivamcandela
7f1ede3620 restructured the pytest
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-12 23:05:22 +05:30
shivamcandela
f3ea0a344a Docker file naming convention
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-08 21:57:32 +05:30
shivamcandela
c393eb724c pytest initial framework: some cleanup based on comments
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-08 21:55:38 +05:30
shivamcandela
442608e353 Cleanup stuff
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-08 20:44:31 +05:30
shivamcandela
69a42cbc48 added testrails as an optional argument, cleaned the directories, added functionality of multiclient
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-08 04:19:59 +05:30
shivamcandela
979740d610 testrail integration fixes
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-01 20:02:53 +05:30
shivamcandela
62a3b24168 pytest is on
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-01 17:52:17 +05:30
shivamcandela
5816f4cdbb equipment_ap profile library fixes and all test cases
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-04-01 02:55:17 +05:30
shivamcandela
9d3239fda9 fixtures pulled as a test case
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-30 23:18:40 +05:30
shivamcandela
a3edf2c02b added some improvements in logic
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-24 01:55:48 +05:30
shivamcandela
7380b87ad3 all sanity cases working now
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-23 23:40:54 +05:30
shivamcandela
00805461a6 radius cases working, bridge nat
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-20 16:23:30 +05:30
shivamcandela
797949e1ce bridge mode, nat mode all sanity cases working now in open, wpa and wpa2 mode
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-20 02:57:02 +05:30
shivamcandela
a714923458 Fixture updates- Profiles, README updates, marker updates
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-18 04:31:49 +05:30
shivamcandela
4668aec1ba Client Connectivity Fixtures are done, Did some Documentation
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-17 02:12:45 +05:30
shivamcandela
462c450f3c Added Bridge mode fixtures
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-03-16 19:18:54 +05:30
shivam
42671838fd Updated APNOS library, restructured the pytest directory structures
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-15 16:39:22 +05:30
shivam
8ae9e3da73 added test_generic that can run pytest
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-11 14:23:37 +05:30
shivam
bd40161b7a Merge branch 'pending-library-updates' of https://github.com/Telecominfraproject/wlan-testing into pending-library-updates 2021-03-11 14:14:47 +05:30
shivam
c480b7ffdc added test profiles for cloudsdk unit tests
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-11 14:14:32 +05:30
Gleb Boushev
48b35b43b2 moving supporting files to the new pytest location 2021-03-11 11:20:45 +03:00
shivam
0bb98fea08 nightly work with pytest started
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-11 13:11:59 +05:30
shivam
2e8803687e cloudsdk unit tests working
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-10 18:10:53 +05:30
shivam
edd393e2ac Added cloudsdk pytests and directory structuring
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-10 17:36:06 +05:30
shivam
a086e5c290 some library updates with swagger api
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-03-01 18:26:14 +05:30
bealler
40d4a686cf add NOLA04 info file 2021-02-24 08:27:22 -05:00
bealler
342c565a84 typo in ap_connect file 2021-02-23 20:45:17 -05:00
bealler
0730a34782 typo in ap_connect file 2021-02-23 20:39:15 -05:00
bealler
64cafec13a Add cicd_sanity templates for ap, radius, ssid and reports 2021-02-23 20:31:34 -05:00
bealler
1e03d08e90 Merge remote-tracking branch 'origin/pending' into pending 2021-02-23 16:49:59 -05:00
bealler
5b6645d2a5 Add cicd_sanity scripts to repo 2021-02-23 16:44:01 -05:00
Ben Greear
0542064739 Add support for cig194c DUT type.
And example for configuring it in nola-15 testbed.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-23 13:35:16 -08:00
shivam
b4f3201897 pytest case is working with hardcoded now, wanna standerdize it in later commits
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-02-22 18:54:11 +05:30
shivam
2144f05d81 pytest hardcoded for now
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-02-22 16:06:28 +05:30
Ben Greear
8305de5644 nightly: Fix typo bug in radius logic.
Probably more is needed, next run I disabled radius again...

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-17 16:07:26 -08:00
Ben Greear
d9ec4ddcae nightly: Fix library API.
And update usage notes.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-17 11:20:38 -08:00
shivam
4bb2e2a71a Radius and EAP Clients are working from sdk_set_profile.py 2021-02-12 16:14:13 +05:30
Ben Greear
e8389ca569 consolidate examples files. 2021-02-11 16:33:43 -08:00
Ben Greear
74cca6bdc0 pytest: Move files into /tests/
Code will need changing next, this is pure rename.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 16:20:54 -08:00
Ben Greear
06fbba1aad pytest: Clean up some tools vs pytest breakage in that last commit.
Seems you cannot have two __init__ methods in a class, so change
code to only one one variant.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 16:18:07 -08:00
Ben Greear
98b0078336 pytest: Make cmd-line args match what the stand-alone tools were using.
And create cmd-line-args based on pytest input so we can pass it into
the library guts.
2021-02-11 15:44:50 -08:00
Ben Greear
55d9e99978 pytest: Start integrating with existing libraries.
This is going to take more work, but getting somewhat closer.

Stop using pytest/helpers, they are replaced by libraries.

Existing libraries are often taking a command-line-args option
as easy way to pass something to various methods.  This will
have to be resolved to work with the way pytest wants to
run.

Much hard-coding needs to be removed, and specifically,
the 'set profile' logic is completley  not working.

Need to use library logic that can query the eq-id based
on name (and query eq-name based on serial port/ssh, perhaps).

Need to resolve how cmd-line can take multiple APs, but
each will have different eq-id.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 13:18:38 -08:00
shivam
30ae4f57a1 Fixed merge conflicts 2021-02-11 02:39:54 +05:30
shivam
05ee084133 bridge and nat profile working fine in sdk_set_profile 2021-02-11 02:14:58 +05:30
Ben Greear
a734432fc9 cloudsdk: better handle when test cases are not configured.
For instance when using helper tools to call into the querysdk
logic, when test cases are not relavent.

Fix sdk upgrade tool to use latest API.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-10 12:07:27 -08:00
Ben Greear
3b9606d83e nightly: Nightly works again, at least somewhat.
Prefix ssids and profile names with testbed so that we won't
have collisions when running multiple testbeds against the same
cloud.

Fix query-ap, API changes since merge..

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-09 16:14:42 -08:00