Test cube creation.
(self, user_manager)
| 262 | manager.close() |
| 263 | |
| 264 | def test_create_cube(self, user_manager): |
| 265 | """Test cube creation.""" |
| 266 | # Create owner user |
| 267 | owner_id = user_manager.create_user("cube_owner", UserRole.USER) |
| 268 | |
| 269 | # Create cube |
| 270 | cube_id = user_manager.create_cube("test_cube", owner_id) |
| 271 | |
| 272 | assert cube_id is not None |
| 273 | assert isinstance(cube_id, str) |
| 274 | |
| 275 | # Verify cube exists |
| 276 | cube = user_manager.get_cube(cube_id) |
| 277 | assert cube is not None |
| 278 | assert cube.cube_name == "test_cube" |
| 279 | assert cube.owner_id == owner_id |
| 280 | assert cube.is_active is True |
| 281 | |
| 282 | def test_create_cube_with_path_and_custom_id(self, user_manager): |
| 283 | """Test cube creation with path and custom ID.""" |
nothing calls this directly
no test coverage detected