Commit graph

114 commits

Author SHA1 Message Date
2f774f5995 Fix library name after module renaming.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-11 14:04:16 +03:00
6e23e7d454 Simplify test checks and fixtures:
Remove default SSH key path.
Replace multiple fixtures for file generation with single function.
Rename references to keyword modules.
Update pytest test cases to be consistent with new keywords.
Remove gas balance checks from container operations.
Add logic to run initial gas transfer only if storage is not free.
Remove robot testsuites for s3 and http gateways.
S3 and http tests are covered and will be maintained in the future in pytest.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-08 17:45:32 +03:00
6b1e1ab28d Add pytest tests.
Change AWS cli v1 to cli v2.
Improve allure attachments.
Add tests for S3 API.

Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-07-08 17:45:32 +03:00
anastasia prasolova
7abb2761c9 [#184] finally got rid of neofs.py
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-06 15:30:27 +03:00
anastasia prasolova
34d282cf5a fixed [#233]; keywords from neofs-keywords moved to neofs-testcases
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-05 16:10:47 +03:00
Elizaveta Chichindaeva
3ffa4f4534 part of [#194] Get ScriptHash with address
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-28 15:06:12 +03:00
Elizaveta Chichindaeva
c8a5a63791 [#189] Remove wif from the output of Get Control Endpoint
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-28 14:57:31 +03:00
anastasia prasolova
a56734ed93 part of [#194]
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-14 00:03:53 +03:00
anastasia prasolova
e086d0d62b [#184]: verbs joined to keywords
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-08 18:28:30 +03:00
anastasia prasolova
e489b43d63 [#184]: session token keywords moved to separate repo; session token
tests slightly refactored

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-01 14:56:50 +03:00
anastasia prasolova
a97e1ee1e9 [#184]: keywords for nodes management out into separate library
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-27 18:06:09 +03:00
anastasia prasolova
e4c1c23ddd [#205] storage policy validation reconsidered
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-26 16:51:05 +03:00
Elizaveta Chichindaeva
8116ada7b6 [#195] Get rid off Prepare Container
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 19:36:26 +03:00
Elizaveta Chichindaeva
6de6af81c7 [#218] Object Size defined in int
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 16:53:48 +03:00
Elizaveta Chichindaeva
0799e15526 [#199] Add non-global Generate File for the rest
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 15:34:37 +03:00
Elizaveta Chichindaeva
057caa54b0 Add non-global Generate File in acl_extended_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 15:31:19 +03:00
anastasia prasolova
8cb8f1591a storage group tests restructured
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-20 19:36:19 +03:00
Elizaveta Chichindaeva
265301cf81 Add non-global Generate File in acl_bearer_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-20 12:54:19 +03:00
anastasia prasolova
d1595b78ca get rid of duplicated "create container" keywords for extended acl suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-20 00:11:03 +03:00
Elizaveta Chichindaeva
3ea4578683 Add non-global Generate File in acl_basic_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-19 17:11:27 +03:00
anastasia prasolova
2ea007164c deleted dangling container keyword
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-19 16:50:05 +03:00
anastasia prasolova
b75cfebf22 get rid of duplicated "create container" keywords for bearer acl suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-17 19:38:12 +03:00
anastasia prasolova
b8272a86d8 get rid of duplicated "create container" keywords for basic acl suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-17 15:06:56 +03:00
anastasia prasolova
d940fe9573 storage group operations moved from neofs.py; storage group tests
refactored

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-16 14:20:31 +03:00
anastasia prasolova
3e749abcd0 added keywords library container.py extracted from neofs.py
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-04-29 18:17:44 +03:00
Elizaveta Chichindaeva
89a4c6daa7 [#424] neofs-cli: WIF replaced with wallets
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-27 17:38:15 +03:00
Elizaveta Chichindaeva
b3b0e20628 [#41] Emission Threshold test
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-25 17:48:45 +03:00
anastasia prasolova
15dd59ddad [#127]: Large Object assrtions moved from python to robot
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-04-13 17:28:07 +03:00
anastasia prasolova
7a21456201 [#184]: neofs verbs divided from neofs.py; HEAD responses are now
proccessed as JSON

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-04-02 00:08:41 +03:00
Elizaveta Chichindaeva
e5d6662905 [#162] eACL: Create eACL with neofs-cli
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-03-25 14:57:01 +03:00
anastasia prasolova
d66ae5b7fc Refactored Head object operation: removed placeholders for optional
parameters; JSON output set as a default

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-22 16:43:24 +03:00
anastasia prasolova
b27159b417 s3_gate_object refactoring
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-15 11:54:25 +03:00
anastasia prasolova
2b51542ca2 fixes and refactoring in HTTP and S3 tests
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-14 10:16:06 +03:00
Elizaveta Chichindaeva
0d86352cbe [#163] Setup and Teardown restart dev-env
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-02-04 19:08:31 +03:00
Elizaveta Chichindaeva
bd9507a19e [#169] Replace --wif with --wallet`
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-02-02 18:12:45 +03:00
Elizaveta Chichindaeva
8216ab71fa [#165] Full path to neofs-cli
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-01-13 14:54:37 +03:00
Elizaveta Chichindaeva
38e6776fc1 [#105] Change common ACL constants
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-30 18:27:13 +03:00
Elizaveta Chichindaeva
18c30c39ff [#334] Move common_steps*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 19:24:17 +03:00
Elizaveta Chichindaeva
26f98c2cab Delete unnecessary file
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 16:52:37 +03:00
Elizaveta Chichindaeva
8a2f1cf50c [#64] Create container_session_token.robot test
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 16:40:15 +03:00
Elizaveta Chichindaeva
d6a73a2b23 [#103] Test to check eACL filter keys for objects
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-24 16:54:00 +03:00
Elizaveta Chichindaeva
dcab3a5745 [#115] Sticky Bit with SYSTEM group
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-22 12:13:22 +03:00
Elizaveta Chichindaeva
075ddfbd43 [#150] CID in replication.robot output
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-12 11:17:42 +03:00
Alex Vanin
9607396894 Fix config file in accounting test
Instead of `rpc`, v0.26.0 requires `rpc-endpoint`.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-02 15:29:32 +03:00
anastasia prasolova
e14ba001a9 nspcc-dev/neofs-testcases#143: error message extended
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-11-01 13:54:30 +03:00
Alex Vanin
51b376d2bf robot: Support neofs-cli v0.26.x
Latest version of neofs-cli uses `--endpoint`
key for control service.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-26 17:55:09 +03:00
Elizaveta Chichindaeva
42ba6ac462 (#122) neofs-cli control drop-objects test case
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-10-11 11:40:52 +03:00
Anatoly Bogatyrev
1fe540fce9
Add replication test with deny eACL (#133)
* Add replication test with deny eACL
2021-10-07 14:28:31 +03:00
Elizaveta Chichindaeva
636eb65e5c (#93) Add netmap_control.robot; fix resources for netmap tets; remove _get_storage_nodes
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-09-30 19:32:04 +03:00
anastasia prasolova
54835b5ee5 changed pythonpath for virtualenv; shortened test libraries imports
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-28 13:58:08 +03:00